[llvm] c7f85f3 - [PowerPC] Regenerate vsx_insert_extract_le.ll tests
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 19 05:19:00 PST 2019
Author: Simon Pilgrim
Date: 2019-11-19T13:18:44Z
New Revision: c7f85f3a84a5d14a13bd8fe6eef93ae34343cf8a
URL: https://github.com/llvm/llvm-project/commit/c7f85f3a84a5d14a13bd8fe6eef93ae34343cf8a
DIFF: https://github.com/llvm/llvm-project/commit/c7f85f3a84a5d14a13bd8fe6eef93ae34343cf8a.diff
LOG: [PowerPC] Regenerate vsx_insert_extract_le.ll tests
Added:
Modified:
llvm/test/CodeGen/PowerPC/vsx_insert_extract_le.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/PowerPC/vsx_insert_extract_le.ll b/llvm/test/CodeGen/PowerPC/vsx_insert_extract_le.ll
index 0c081f744c60..7450be09ffd9 100644
--- a/llvm/test/CodeGen/PowerPC/vsx_insert_extract_le.ll
+++ b/llvm/test/CodeGen/PowerPC/vsx_insert_extract_le.ll
@@ -1,3 +1,4 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -verify-machineinstrs -mcpu=pwr8 -mattr=+vsx -ppc-vsr-nums-as-vr \
; RUN: -ppc-asm-full-reg-names -mtriple=powerpc64le-unknown-linux-gnu < %s \
; RUN: | FileCheck %s
@@ -31,10 +32,10 @@ define <2 x double> @testi0(<2 x double>* %p1, double* %p2) {
;
; CHECK-P9-LABEL: testi0:
; CHECK-P9: # %bb.0:
-; CHECK-P9-NEXT: lfd [[REG:f[0-9]+]], 0(r4)
-; CHECK-P9-NEXT: lxv [[REG1:vs[0-9]+]], 0(r3)
-; CHECK-P9-NEXT: xxpermdi [[REG2:vs[0-9]+]], [[REG]], [[REG]], 2
-; CHECK-P9-NEXT: xxpermdi v2, [[REG1]], [[REG2]], 1
+; CHECK-P9-NEXT: lfd f1, 0(r4)
+; CHECK-P9-NEXT: lxv vs0, 0(r3)
+; CHECK-P9-NEXT: xxpermdi vs1, f1, f1, 2
+; CHECK-P9-NEXT: xxpermdi v2, vs0, vs1, 1
; CHECK-P9-NEXT: blr
%v = load <2 x double>, <2 x double>* %p1
%s = load double, double* %p2
@@ -65,10 +66,10 @@ define <2 x double> @testi1(<2 x double>* %p1, double* %p2) {
;
; CHECK-P9-LABEL: testi1:
; CHECK-P9: # %bb.0:
-; CHECK-P9-NEXT: lfd [[REG:f[0-9]+]], 0(r4)
-; CHECK-P9-NEXT: lxv [[REG1:vs[0-9]+]], 0(r3)
-; CHECK-P9-NEXT: xxpermdi [[REG2:vs[0-9]+]], [[REG]], [[REG]], 2
-; CHECK-P9-NEXT: xxmrgld v2, [[REG2]], [[REG1]]
+; CHECK-P9-NEXT: lfd f1, 0(r4)
+; CHECK-P9-NEXT: lxv vs0, 0(r3)
+; CHECK-P9-NEXT: xxpermdi vs1, f1, f1, 2
+; CHECK-P9-NEXT: xxmrgld v2, vs1, vs0
; CHECK-P9-NEXT: blr
%v = load <2 x double>, <2 x double>* %p1
%s = load double, double* %p2
@@ -82,12 +83,14 @@ define double @teste0(<2 x double>* %p1) {
; CHECK-LABEL: teste0:
; CHECK: # %bb.0:
; CHECK-NEXT: lxvd2x vs1, 0, r3
-; CHECK: blr
+; CHECK-NEXT: # kill: def $f1 killed $f1 killed $vsl1
+; CHECK-NEXT: blr
;
; CHECK-P9-VECTOR-LABEL: teste0:
; CHECK-P9-VECTOR: # %bb.0:
; CHECK-P9-VECTOR-NEXT: lxvd2x vs1, 0, r3
-; CHECK-P9-VECTOR: blr
+; CHECK-P9-VECTOR-NEXT: # kill: def $f1 killed $f1 killed $vsl1
+; CHECK-P9-VECTOR-NEXT: blr
;
; CHECK-P9-LABEL: teste0:
; CHECK-P9: # %bb.0:
@@ -105,13 +108,15 @@ define double @teste1(<2 x double>* %p1) {
; CHECK: # %bb.0:
; CHECK-NEXT: lxvd2x vs0, 0, r3
; CHECK-NEXT: xxswapd vs1, vs0
-; CHECK: blr
+; CHECK-NEXT: # kill: def $f1 killed $f1 killed $vsl1
+; CHECK-NEXT: blr
;
; CHECK-P9-VECTOR-LABEL: teste1:
; CHECK-P9-VECTOR: # %bb.0:
; CHECK-P9-VECTOR-NEXT: lxvd2x vs0, 0, r3
; CHECK-P9-VECTOR-NEXT: xxswapd vs1, vs0
-; CHECK-P9-VECTOR: blr
+; CHECK-P9-VECTOR-NEXT: # kill: def $f1 killed $f1 killed $vsl1
+; CHECK-P9-VECTOR-NEXT: blr
;
; CHECK-P9-LABEL: teste1:
; CHECK-P9: # %bb.0:
More information about the llvm-commits
mailing list