Nikita Popov bcbc615164 [ArgPromotion] Convert tests to opaque pointers (NFC)
update_test_checks was rerun for some of those, because we use
a different GEP representation with opaque pointers.
2022-12-23 09:53:50 +01:00

14 lines
428 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --scrub-attributes
; RUN: opt < %s -passes=inline,argpromotion -disable-output
define internal fastcc i32 @hash(ptr %ts, i32 %mod) nounwind {
entry:
unreachable
}
define void @encode(ptr %m, ptr %ts, ptr %new) nounwind {
entry:
%0 = call fastcc i32 @hash( ptr %ts, i32 0 ) nounwind ; <i32> [#uses=0]
unreachable
}