Rename -disable-required-unwind-tables to -unwind-tables-optional.
[oota-llvm.git] / test / CodeGen / X86 / zero-remat.ll
1 ; RUN: llvm-as < %s | llc -march=x86-64 | grep xor | count 4
2 ; RUN: llvm-as < %s | llc -march=x86-64 -stats -unwind-tables-optional -info-output-file - | grep asm-printer  | grep 12
3 ; RUN: llvm-as < %s | llc -march=x86 | grep fldz
4 ; RUN: llvm-as < %s | llc -march=x86 | not grep fldl
5
6 declare void @bar(double %x)
7 declare void @barf(float %x)
8
9 define double @foo() nounwind {
10   call void @bar(double 0.0)
11   ret double 0.0
12 }
13 define float @foof() nounwind {
14   call void @barf(float 0.0)
15   ret float 0.0
16 }