Revert r124611 - "Keep track of incoming argument's location while emitting LiveIns."
[oota-llvm.git] / test / CodeGen / X86 / pr9127.ll
1 ; RUN: llc -march=x86-64 < %s | FileCheck %s
2
3 define i8 @foobar(double %d, double* %x) {
4 entry:
5   %tmp2 = load double* %x, align 8
6   %cmp = fcmp oeq double %tmp2, %d
7   %conv3 = zext i1 %cmp to i8
8   ret i8 %conv3
9 }
10
11 ; test that the load is folded.
12 ; CHECK: ucomisd        (%rdi), %xmm0