Skip to content

Commit ebc2b5a

Browse files
Upstream change removes AtmicMem*Inst (#126)
Upstream change: llvm/llvm-project#138710
1 parent af8ecc6 commit ebc2b5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Dialect/OpDescription.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ HANDLE_INTRINSIC_DESC(DbgAssignIntrinsic, dbg_assign)
183183
#endif
184184
HANDLE_INTRINSIC_DESC(DbgLabelInst, dbg_label)
185185

186+
#if LLVM_MAIN_REVISION && LLVM_MAIN_REVISION < 536496
186187
HANDLE_INTRINSIC_DESC_OPCODE_SET(AtomicMemIntrinsic,
187188
Intrinsic::memcpy_element_unordered_atomic,
188189
Intrinsic::memmove_element_unordered_atomic,
@@ -196,6 +197,7 @@ HANDLE_INTRINSIC_DESC_OPCODE_SET(AtomicMemTransferInst,
196197

197198
HANDLE_INTRINSIC_DESC(AtomicMemCpyInst, memcpy_element_unordered_atomic)
198199
HANDLE_INTRINSIC_DESC(AtomicMemMoveInst, memmove_element_unordered_atomic)
200+
#endif
199201
HANDLE_INTRINSIC_DESC_OPCODE_SET(MemIntrinsic, Intrinsic::memcpy,
200202
Intrinsic::memmove, Intrinsic::memset,
201203
Intrinsic::memset_inline,

0 commit comments

Comments
 (0)