[llvm] IR: Allow vector type in atomic load and store (PR #117625)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 09:43:27 PST 2024


================
@@ -1,14 +1,15 @@
 ; RUN: not opt -passes=verify < %s 2>&1 | FileCheck %s
+; CHECK: atomic store operand must have integer, pointer, floating point, or vector type!
+; CHECK: atomic load operand must have integer, pointer, floating point, or vector type!
 
-; CHECK: atomic store operand must have integer, pointer, or floating point type!
-; CHECK: atomic load operand must have integer, pointer, or floating point type!
+%ty = type { i32 };
----------------
arsenm wrote:

Add to the atomic test in test/Assembler with newly permitted cases

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


More information about the llvm-commits mailing list