diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
commit | f8af5cf600354830d4ccf59732403f0f073eccb9 (patch) | |
tree | 2ba0398b4c42ad4f55561327538044fd2c925a8b /test/Transforms/InstCombine/extractvalue.ll | |
parent | 59d6cff90eecf31cb3dd860c4e786674cfdd42eb (diff) |
Notes
Diffstat (limited to 'test/Transforms/InstCombine/extractvalue.ll')
-rw-r--r-- | test/Transforms/InstCombine/extractvalue.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/InstCombine/extractvalue.ll b/test/Transforms/InstCombine/extractvalue.ll index 5e4c67778224a..04c7ffa219dae 100644 --- a/test/Transforms/InstCombine/extractvalue.ll +++ b/test/Transforms/InstCombine/extractvalue.ll @@ -3,7 +3,7 @@ declare void @bar({i32, i32} %a) declare i32 @baz(i32 %a) -; CHECK: define i32 @foo +; CHECK-LABEL: define i32 @foo( ; CHECK-NOT: extractvalue define i32 @foo(i32 %a, i32 %b) { ; Instcombine should fold various combinations of insertvalue and extractvalue @@ -39,7 +39,7 @@ define i32 @foo(i32 %a, i32 %b) { ret i32 %v5 } -; CHECK: define i32 @extract2gep +; CHECK-LABEL: define i32 @extract2gep( ; CHECK-NEXT: [[GEP:%[a-z0-9]+]] = getelementptr inbounds {{.*}}* %pair, i32 0, i32 1 ; CHECK-NEXT: [[LOAD:%[A-Za-z0-9]+]] = load i32* [[GEP]] ; CHECK-NEXT: store @@ -67,7 +67,7 @@ end: ret i32 %E } -; CHECK: define i32 @doubleextract2gep +; CHECK-LABEL: define i32 @doubleextract2gep( ; CHECK-NEXT: [[GEP:%[a-z0-9]+]] = getelementptr inbounds {{.*}}* %arg, i32 0, i32 1, i32 1 ; CHECK-NEXT: [[LOAD:%[A-Za-z0-9]+]] = load i32* [[GEP]] ; CHECK-NEXT: ret i32 [[LOAD]] |