Skip to content

Commit 821e767

Browse files
committed
DSE removes the unused gep\store, fix up the test to account
1 parent 96c7b23 commit 821e767

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/test/tools/dxil-dis/lifetimes.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ target triple = "dxil-unknown-shadermodel6.7-library"
44
define void @test_lifetimes() {
55
; CHECK-LABEL: test_lifetimes
66
; CHECK-NEXT: [[ALLOCA:%.*]] = alloca [2 x i32], align 4
7-
; CHECK-NEXT: [[GEP:%.*]] = getelementptr [2 x i32], [2 x i32]* [[ALLOCA]], i32 0, i32 0
87
; CHECK-NEXT: [[BITCAST:%.*]] = bitcast [2 x i32]* [[ALLOCA]] to i8*
98
; CHECK-NEXT: call void @llvm.lifetime.start(i64 8, i8* nonnull [[BITCAST]])
10-
; CHECK-NEXT: store i32 0, i32* [[GEP]], align 4
119
; CHECK-NEXT: [[BITCAST:%.*]] = bitcast [2 x i32]* [[ALLOCA]] to i8*
1210
; CHECK-NEXT: call void @llvm.lifetime.end(i64 8, i8* nonnull [[BITCAST]])
1311
; CHECK-NEXT: ret void

0 commit comments

Comments
 (0)