tltao wrote:

Hmm looks like the testing reveals another problem. We have no way of 
invalidating a platform specific constraint that also uses `{}`.

The AMDGCN tests expect `{exec}a` to fail to verify, but it does not fail in 
the generic `validateHardRegisterAsmConstraint` since we want to support 
something like `{r1}r`.

@AlexVlx I couldn't find any documentation on the usage of `{}` on AMDGPU, is 
failing the constraint `{exec}a` necessary? If so, we might have to also reject 
`{r1}r`.

https://github.com/llvm/llvm-project/pull/85846
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to