]> granicus.if.org Git - llvm/commitdiff
Fixed a typo in the test s/CEHCK/CHECK/
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 28 Feb 2019 10:56:39 +0000 (10:56 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 28 Feb 2019 10:56:39 +0000 (10:56 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355079 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/inlineasm-vsx-reg.ll

index 0ebb44930658eec09068eba2df7274b799a37e37..b3cbefa2dbdfaf94703dcd7a215306989a846d00 100644 (file)
@@ -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