diff options
author | Frits van Bommel <fvbommel@gmail.com> | 2010-11-29 20:55:40 +0000 |
---|---|---|
committer | Frits van Bommel <fvbommel@gmail.com> | 2010-11-29 20:55:40 +0000 |
commit | 40a80ac963f93486468b0dd5d458c4f1ac88fcdf (patch) | |
tree | 943f68be3d658662e57fe3c070c216d16883ccc7 | |
parent | c9ea0f84258a4b6e112a04da18cd9c2fc9f697a2 (diff) | |
download | bcm5719-llvm-40a80ac963f93486468b0dd5d458c4f1ac88fcdf.tar.gz bcm5719-llvm-40a80ac963f93486468b0dd5d458c4f1ac88fcdf.zip |
Update this test to keep testing the -instcombine transform it's supposed to be testing instead of triggering the improved constant folding for insertvalue and extractvalue.
llvm-svn: 120319
-rw-r--r-- | llvm/test/Transforms/InstCombine/extractvalue.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Transforms/InstCombine/extractvalue.ll b/llvm/test/Transforms/InstCombine/extractvalue.ll index 875f860b3d7..d1e11e868ff 100644 --- a/llvm/test/Transforms/InstCombine/extractvalue.ll +++ b/llvm/test/Transforms/InstCombine/extractvalue.ll @@ -4,10 +4,10 @@ ; together declare void @bar({i32, i32} %a) -define i32 @foo() { +define i32 @foo(i32 %a, i32 %b) { ; Build a simple struct and pull values out again - %s1.1 = insertvalue {i32, i32} undef, i32 0, 0 - %s1 = insertvalue {i32, i32} %s1.1, i32 1, 1 + %s1.1 = insertvalue {i32, i32} undef, i32 %a, 0 + %s1 = insertvalue {i32, i32} %s1.1, i32 %b, 1 %v1 = extractvalue {i32, i32} %s1, 0 %v2 = extractvalue {i32, i32} %s1, 1 |