brintos

brintos / llvm-project-archived public Read only

0
0
Text · 237 B · 86fb198 Raw
12 lines · plain
1; RUN: opt < %s -passes=sccp -S | grep "ret i32 %Z"2; rdar://57782103 4declare {i32, i32} @bar(i32 %A) 5 6define i32 @foo() {7	%X = call {i32, i32} @bar(i32 17)8        %Y = extractvalue {i32, i32} %X, 09	%Z = add i32 %Y, %Y10	ret i32 %Z11}12