[llvm-commits] [llvm] r129756 - /llvm/trunk/test/CodeGen/ARM/fcopysign.ll
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Apr 18 23:14:45 PDT 2011
Author: stoklund
Date: Tue Apr 19 01:14:45 2011
New Revision: 129756
URL: http://llvm.org/viewvc/llvm-project?rev=129756&view=rev
Log:
Tighten test case a bit.
Ideally, we would match an S-register to its containing D-register, but that
requires arithmetic (divide by 2).
Modified:
llvm/trunk/test/CodeGen/ARM/fcopysign.ll
Modified: llvm/trunk/test/CodeGen/ARM/fcopysign.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/fcopysign.ll?rev=129756&r1=129755&r2=129756&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/fcopysign.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/fcopysign.ll Tue Apr 19 01:14:45 2011
@@ -45,7 +45,8 @@
entry:
; SOFT: test4:
; SOFT: vmov.f64 [[REG4:(d[0-9]+)]], #1.000000e+00
-; SOFT: vcvt.f32.f64 {{s[0-9]+}}, [[REG4]]
+; This S-reg must be the first sub-reg of the last D-reg on vbsl.
+; SOFT: vcvt.f32.f64 {{s1?[02468]}}, [[REG4]]
; SOFT: vshr.u64 [[REG4]], [[REG4]], #32
; SOFT: vmov.i32 [[REG5:(d[0-9]+)]], #0x80000000
; SOFT: vbsl [[REG5]], [[REG4]], {{d[0-9]+}}
More information about the llvm-commits
mailing list