[llvm] r273110 - [SPARC[ Correcting out-of-date unit tests checked in as part of r273108
Chris Dewhurst via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 19 05:52:39 PDT 2016
Author: lerochris
Date: Sun Jun 19 07:52:39 2016
New Revision: 273110
URL: http://llvm.org/viewvc/llvm-project?rev=273110&view=rev
Log:
[SPARC[ Correcting out-of-date unit tests checked in as part of r273108
Modified:
llvm/trunk/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll
llvm/trunk/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll
Modified: llvm/trunk/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll?rev=273110&r1=273109&r2=273110&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll (original)
+++ llvm/trunk/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll Sun Jun 19 07:52:39 2016
@@ -1,8 +1,10 @@
; RUN: llc %s -O0 -march=sparc -mcpu=ut699 -o - | FileCheck %s
; CHECK-LABEL: test_fix_fsmuld_1
-; CHECK: fsmuld %f20, %f21, %f8
-
+; CHECK: fstod %f20, %f2
+; CHECK: fstod %f21, %f3
+; CHECK: fmuld %f2, %f3, %f8
+; CHECK: fstod %f20, %f0
define double @test_fix_fsmuld_1() {
entry:
%a = alloca float, align 4
@@ -17,7 +19,10 @@ entry:
}
; CHECK-LABEL: test_fix_fsmuld_2
-; CHECK: fsmuld %f20, %f21, %f8
+; CHECK: fstod %f20, %f2
+; CHECK: fstod %f21, %f3
+; CHECK: fmuld %f2, %f3, %f8
+; CHECK: fstod %f20, %f0
define double @test_fix_fsmuld_2(float* %a, float* %b) {
entry:
%mul = tail call double asm sideeffect "fsmuld $0, $1, $2", "={f20},{f21},{f8}"(float* %a, float* %b)
Modified: llvm/trunk/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll?rev=273110&r1=273109&r2=273110&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll (original)
+++ llvm/trunk/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll Sun Jun 19 07:52:39 2016
@@ -1,7 +1,10 @@
; RUN: llc %s -O0 -march=sparc -mcpu=ut699 -o - | FileCheck %s
; CHECK-LABEL: fmuls_fix_test
-; CHECK: fmuls %f20, %f21, %f8
+; CHECK: fstod %f20, %f2
+; CHECK: fstod %f21, %f3
+; CHECK: fmuld %f2, %f3, %f8
+; CHECK: fstod %f20, %f0
define double @fmuls_fix_test() {
entry:
%a = alloca float, align 4
More information about the llvm-commits
mailing list