summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/vsx.ll
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-03-22 18:24:43 +0000
committerHal Finkel <hfinkel@anl.gov>2014-03-22 18:24:43 +0000
commit0d277ab1bad4af37ffeb8110d6bbc84f4f0a905b (patch)
treeb66f133696c5641e5a0fbaba62c315b5ddce1cc6 /test/CodeGen/PowerPC/vsx.ll
parentf20a2199de396f13dae02512944c4f24b7b2b77c (diff)
[PowerPC] Fix the VSX v2f64 return register
v2f64 values, like other 128-bit values, are returned under VSX in register vs34 (Altivec register v2). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/vsx.ll')
-rw-r--r--test/CodeGen/PowerPC/vsx.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/CodeGen/PowerPC/vsx.ll b/test/CodeGen/PowerPC/vsx.ll
index ba53b7968c5..6131cd1bb6d 100644
--- a/test/CodeGen/PowerPC/vsx.ll
+++ b/test/CodeGen/PowerPC/vsx.ll
@@ -37,10 +37,8 @@ entry:
%v = fadd <2 x double> %a, %b
ret <2 x double> %v
-; FIXME: Check that the ABI for the return value is correct here!
-
; CHECK-LABEL: @test4
-; CHECK: xvadddp {{[0-9]+}}, 34, 35
+; CHECK: xvadddp 34, 34, 35
; CHECK: blr
}