brintos

brintos / llvm-project-archived public Read only

0
0
Text · 293 B · d782ec4 Raw
12 lines · plain
1; RUN: llc < %s -mtriple=x86_64-- -O0 | FileCheck %s2; Make sure fast-isel doesn't screw up aggregate constants.3; (Failing out is okay, as long as we don't miscompile.)4 5%bar = type { i32 }6 7define i32 @foo()  {8  %tmp = extractvalue %bar { i32 3 }, 09  ret i32 %tmp10; CHECK: movl $3, %eax11}12