brintos

brintos / llvm-project-archived public Read only

0
0
Text · 202 B · 0bd23db Raw
13 lines · plain
1; RUN: llc < %s2; PR11143 4declare i1 @foo()5 6define i32 @test(ptr %A, ptr %B) {7	%a = load i32, ptr %A8	%b = load i32, ptr %B9	%cond = call i1 @foo()10	%c = select i1 %cond, i32 %a, i32 %b11	ret i32 %c12}13