File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/test/Transforms/Inline Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
declare ptr @llvm.experimental.deoptimize.p0 (...)
4
4
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.
6
6
7
7
define ptr @callee_noalias (ptr %c ) {
8
8
%v2 = call ptr (...) @llvm.experimental.deoptimize.p0 (i32 42 ) [ "deopt" (i32 1 ) ]
@@ -13,6 +13,6 @@ define ptr @callee_noalias(ptr %c) {
13
13
; CHECK: call void (...) @llvm.experimental.deoptimize.isVoid(i32 42) [ "deopt"(i32 2, i32 1) ]
14
14
define void @caller_noalias (ptr %c ) {
15
15
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 ) ]
17
17
ret void
18
18
}
You can’t perform that action at this time.
0 commit comments