mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
1d3863fdbc
EH info for these functions causes the tests to fail for random reasons (e.g. looking for 'or' or counting lines with asm-printer; labels count as lines.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49003 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
478 B
LLVM
17 lines
478 B
LLVM
; 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
|
|
}
|