Skip to content

Commit 6aa7270

Browse files
committed
Add pre-commit tests. NFC
1 parent 9328c20 commit 6aa7270

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

llvm/test/Transforms/Inline/ret_attr_align_and_noundef.ll

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,3 +410,14 @@ define i8 @caller15_okay_intersect_ranges() {
410410
call void @use.val(i8 %r)
411411
ret i8 %r
412412
}
413+
414+
define i8 @caller16_not_intersecting_ranges() {
415+
; CHECK-LABEL: define i8 @caller16_not_intersecting_ranges() {
416+
; CHECK-NEXT: [[R_I:%.*]] = call range(i8 0, 0) i8 @val8()
417+
; CHECK-NEXT: call void @use.val(i8 [[R_I]])
418+
; CHECK-NEXT: ret i8 [[R_I]]
419+
;
420+
%r = call range(i8 0, 5) i8 @callee15()
421+
call void @use.val(i8 %r)
422+
ret i8 %r
423+
}

0 commit comments

Comments
 (0)