Skip to content

Commit de745c4

Browse files
authored
Support structured GEP (#136)
1 parent 72b76fa commit de745c4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lib/Dialect/OpDescription.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@ HANDLE_INTRINSIC_DESC_OPCODE_SET(AnyMemCpyInst, Intrinsic::memcpy,
244244
HANDLE_INTRINSIC_DESC_OPCODE_SET(AnyMemMoveInst, Intrinsic::memmove,
245245
Intrinsic::memmove_element_unordered_atomic)
246246

247+
#if HAVE_LLVM_VERSION_MAJOR >= 23
248+
#if !LLVM_MAIN_REVISION || LLVM_MAIN_REVISION >= 566206
249+
HANDLE_INTRINSIC_DESC(StructuredGEPInst, structured_gep)
250+
#endif
251+
#endif
252+
247253
// TODO: Is completing this list worth it?
248254

249255
#undef HANDLE_INTRINSIC_DESC_OPCODE_SET

0 commit comments

Comments
 (0)