From 3d0576bbafc1b6117ae7d1061dc075536b761c2a Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Thu, 28 Feb 2019 10:56:39 +0000 Subject: [PATCH] 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 llvm-svn: 355079 --- llvm/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/llvm/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll b/llvm/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll index 0ebb44930658e..b3cbefa2dbdfa 100644 --- a/llvm/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll +++ b/llvm/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll @@ -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