[clang] [llvm] [IR] Allow integer vector atomicrmw (PR #190716)

Yonah Goldberg via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 9 00:00:04 PDT 2026


================
@@ -505,6 +505,52 @@ TEST(VerifierTest, AtomicRMWElementwiseFPOpOnIntVector) {
       << Error;
 }
 
+TEST(VerifierTest, AtomicRMWIntVector) {
----------------
YonahGoldberg wrote:

I think the positive test is not useful because we have coverage from the assembler lit test. But the negative test is still useful because all my current negative tests will get rejected by the assembler and not make it to the verifier. I think it's still useful to test that the verifier rejects scalable vectors.

https://github.com/llvm/llvm-project/pull/190716


More information about the cfe-commits mailing list