mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
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
This commit is contained in:
parent
4b82810d8c
commit
77f6750c83
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user