[llvm] r355079 - Fixed a typo in the test s/CEHCK/CHECK/
Dmitri Gribenko via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 28 02:56:39 PST 2019
Author: gribozavr
Date: Thu Feb 28 02:56:39 2019
New Revision: 355079
URL: http://llvm.org/viewvc/llvm-project?rev=355079&view=rev
Log:
Fixed a typo in the test s/CEHCK/CHECK/
Summary:
Turns out the test was not correct, I had to adjust the test to work. I
also added CHECK-LABELs for better error messages from FileCheck while
I'm here.
Reviewers: jsji
Subscribers: nemanjai, eraman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D58614
Modified:
llvm/trunk/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll
Modified: llvm/trunk/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll?rev=355079&r1=355078&r2=355079&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll Thu Feb 28 02:56:39 2019
@@ -4,6 +4,7 @@ entry:
%0 = tail call { i32, <4 x float> } asm "xxsldwi ${1:x},${2:x},${2:x},3;\0Axscvspdp ${1:x},${1:x};\0Afctiw $1,$1;\0Amfvsrd $0,${1:x};\0A", "=r,=&^wa,^wa"(<4 x float> %__A)
%asmresult = extractvalue { i32, <4 x float> } %0, 0
ret i32 %asmresult
+; CHECK-LABEL: foo:
; CHECK: #APP
; CHECK: xxsldwi vs0, v2, v2, 3
; CHECK: xscvspdp f0, f0
@@ -18,19 +19,21 @@ entry:
%asmresult = extractvalue { i32, <4 x float> } %0, 0
ret i32 %asmresult
+; CHECK-LABEL: foo1:
; CHECK: #APP
; CHECK: xxsldwi vs0, v2, v2, 3
; CHECK: xscvspdp f0, f0
-; CEHCK: fctiw f0, f0
+; CHECK: fctiw f0, f0
; CHECK: mffprd r3, f0
-; CEHCK: extsw r3, r3
; CHECK: #NO_APP
+; CHECK: extsw r3, r3
}
define double @test() {
entry:
%0 = tail call double asm "mtvsrd ${0:x}, 1", "=^ws,~{f0},~{f1},~{f2},~{f3},~{f4},~{f5},~{f6},~{f7},~{f8},~{f9},~{f10},~{f11},~{f12},~{f13},~{f14}"()
ret double %0
+; CHECK-LABEL: test:
; CHECK: #APP
; CHECK: mtvsrd v2, r1
; CHECK: #NO_APP
More information about the llvm-commits
mailing list