llvm.org GIT mirror llvm / release_24 test / CodeGen / X86 / zero-remat.ll
release_24

Tree @release_24 (Download .tar.gz)

zero-remat.ll @release_24

1ab7989
0a6ee6d
8b0cb7b
 
1ab7989
 
 
 
1d3863f
1ab7989
 
 
1d3863f
1ab7989
 
 
; RUN: llvm-as < %s | llc -march=x86-64 | grep xor | count 4
; RUN: llvm-as < %s | llc -march=x86-64 -stats  -info-output-file - | grep asm-printer  | grep 12
; RUN: llvm-as < %s | llc -march=x86 | grep fldz
; RUN: llvm-as < %s | llc -march=x86 | not grep fldl

declare void @bar(double %x)
declare void @barf(float %x)

define double @foo() nounwind {
  call void @bar(double 0.0)
  ret double 0.0
}
define float @foof() nounwind {
  call void @barf(float 0.0)
  ret float 0.0
}