summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse-fcopysign.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-16 14:23:07 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-16 14:23:07 +0000
commit264225f9825e244a9fc06d6b174c90eb34926d2c (patch)
treeddcc2bedbd9a0117241f55e3529ccfdcbf87e637 /test/CodeGen/X86/sse-fcopysign.ll
parentbc243932a39a019be11b9c3fbd96f27506f038cf (diff)
downloadllvm-264225f9825e244a9fc06d6b174c90eb34926d2c.tar.gz
llvm-264225f9825e244a9fc06d6b174c90eb34926d2c.tar.bz2
llvm-264225f9825e244a9fc06d6b174c90eb34926d2c.tar.xz
For PR1336:
Rename test functions to not conflict with an instruction mnemonic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/sse-fcopysign.ll')
-rw-r--r--test/CodeGen/X86/sse-fcopysign.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/X86/sse-fcopysign.ll b/test/CodeGen/X86/sse-fcopysign.ll
index b82f18d32b..cff1f7fa86 100644
--- a/test/CodeGen/X86/sse-fcopysign.ll
+++ b/test/CodeGen/X86/sse-fcopysign.ll
@@ -1,12 +1,11 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep test
-; XFAIL: *
-define float @test1(float %a, float %b) {
+define float @tst1(float %a, float %b) {
%tmp = tail call float @copysignf( float %b, float %a )
ret float %tmp
}
-define double @test2(double %a, float %b, float %c) {
+define double @tst2(double %a, float %b, float %c) {
%tmp1 = add float %b, %c
%tmp2 = fpext float %tmp1 to double
%tmp = tail call double @copysign( double %a, double %tmp2 )