@@ -137,12 +137,12 @@ entry:
137
137
; [ ] N -> SC
138
138
; [x] N -> N + B
139
139
; [ ] N -> SC + B
140
- define i32 @normal_caller_locally_streaming_callee_inline () { ; FIXME: This is a bug, it shouldn't inline!
141
- ; CHECK-LABEL: define i32 @normal_caller_locally_streaming_callee_inline
140
+ define i32 @normal_caller_locally_streaming_callee_dont_inline () {
141
+ ; CHECK-LABEL: define i32 @normal_caller_locally_streaming_callee_dont_inline
142
142
; CHECK-SAME: () #[[ATTR1]] {
143
143
; CHECK-NEXT: entry:
144
- ; CHECK-NEXT: [[RES_I :%.*]] = call i32 @llvm.vscale.i32 ()
145
- ; CHECK-NEXT: ret i32 [[RES_I ]]
144
+ ; CHECK-NEXT: [[RES :%.*]] = call i32 @locally_streaming_callee ()
145
+ ; CHECK-NEXT: ret i32 [[RES ]]
146
146
;
147
147
entry:
148
148
%res = call i32 @locally_streaming_callee ()
@@ -154,12 +154,12 @@ entry:
154
154
; [ ] N -> SC
155
155
; [ ] N -> N + B
156
156
; [x] N -> SC + B
157
- define i32 @normal_caller_streaming_compatible_locally_streaming_callee_inline () { ; FIXME: This is a bug, it shouldn't inline
158
- ; CHECK-LABEL: define i32 @normal_caller_streaming_compatible_locally_streaming_callee_inline
157
+ define i32 @normal_caller_streaming_compatible_locally_streaming_callee_dont_inline () {
158
+ ; CHECK-LABEL: define i32 @normal_caller_streaming_compatible_locally_streaming_callee_dont_inline
159
159
; CHECK-SAME: () #[[ATTR1]] {
160
160
; CHECK-NEXT: entry:
161
- ; CHECK-NEXT: [[RES_I :%.*]] = call i32 @llvm.vscale.i32 ()
162
- ; CHECK-NEXT: ret i32 [[RES_I ]]
161
+ ; CHECK-NEXT: [[RES :%.*]] = call i32 @streaming_compatible_locally_streaming_callee ()
162
+ ; CHECK-NEXT: ret i32 [[RES ]]
163
163
;
164
164
entry:
165
165
%res = call i32 @streaming_compatible_locally_streaming_callee ()
@@ -409,12 +409,12 @@ entry:
409
409
; [ ] SC -> SC
410
410
; [ ] SC -> N + B
411
411
; [x] SC -> SC + B
412
- define i32 @streaming_compatible_caller_streaming_compatible_locally_streaming_callee_inline () "aarch64_pstate_sm_compatible" { ; FIXME: This is a bug!
413
- ; CHECK-LABEL: define i32 @streaming_compatible_caller_streaming_compatible_locally_streaming_callee_inline
412
+ define i32 @streaming_compatible_caller_streaming_compatible_locally_streaming_callee_dont_inline () "aarch64_pstate_sm_compatible" {
413
+ ; CHECK-LABEL: define i32 @streaming_compatible_caller_streaming_compatible_locally_streaming_callee_dont_inline
414
414
; CHECK-SAME: () #[[ATTR0]] {
415
415
; CHECK-NEXT: entry:
416
- ; CHECK-NEXT: [[RES_I :%.*]] = call i32 @llvm.vscale.i32 ()
417
- ; CHECK-NEXT: ret i32 [[RES_I ]]
416
+ ; CHECK-NEXT: [[RES :%.*]] = call i32 @streaming_compatible_locally_streaming_callee ()
417
+ ; CHECK-NEXT: ret i32 [[RES ]]
418
418
;
419
419
entry:
420
420
%res = call i32 @streaming_compatible_locally_streaming_callee ()
0 commit comments