Skip to content

Commit 4ba50a7

Browse files
committed
Update test to consider incompatible align attribute
1 parent f4d5952 commit 4ba50a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/Transforms/Inline/pr64804.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare ptr @llvm.experimental.deoptimize.p0(...)
44

5-
; Make sure we do not add incompatible attribute (noalias) to the deoptimize call.
5+
; Make sure we do not add incompatible attributes (noalias, align) to the deoptimize call.
66

77
define ptr @callee_noalias(ptr %c) {
88
%v2 = call ptr (...) @llvm.experimental.deoptimize.p0(i32 42 ) [ "deopt"(i32 1) ]
@@ -13,6 +13,6 @@ define ptr @callee_noalias(ptr %c) {
1313
; CHECK: call void (...) @llvm.experimental.deoptimize.isVoid(i32 42) [ "deopt"(i32 2, i32 1) ]
1414
define void @caller_noalias(ptr %c) {
1515
entry:
16-
%v = call noalias ptr @callee_noalias(ptr %c) [ "deopt"(i32 2) ]
16+
%v = call noalias align 8 ptr @callee_noalias(ptr %c) [ "deopt"(i32 2) ]
1717
ret void
1818
}

0 commit comments

Comments
 (0)