summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/build-vector-allones.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/build-vector-allones.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/build-vector-allones.ll20
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/test/CodeGen/PowerPC/build-vector-allones.ll b/llvm/test/CodeGen/PowerPC/build-vector-allones.ll
index 1a4ad1e1235..fcec36703cb 100644
--- a/llvm/test/CodeGen/PowerPC/build-vector-allones.ll
+++ b/llvm/test/CodeGen/PowerPC/build-vector-allones.ll
@@ -19,12 +19,12 @@ define <1 x i128> @One1i128() {
;
; P8LE-LABEL: One1i128:
; P8LE: # %bb.0: # %entry
-; P8LE-NEXT: vspltisb v2, -1
+; P8LE-NEXT: xxleqv vs34, vs34, vs34
; P8LE-NEXT: blr
;
; P9LE-LABEL: One1i128:
; P9LE: # %bb.0: # %entry
-; P9LE-NEXT: xxspltib vs34, 255
+; P9LE-NEXT: xxleqv vs34, vs34, vs34
; P9LE-NEXT: blr
entry:
ret <1 x i128> <i128 -1>
@@ -40,12 +40,12 @@ define <2 x i64> @One2i64() {
;
; P8LE-LABEL: One2i64:
; P8LE: # %bb.0: # %entry
-; P8LE-NEXT: vspltisb v2, -1
+; P8LE-NEXT: xxleqv vs34, vs34, vs34
; P8LE-NEXT: blr
;
; P9LE-LABEL: One2i64:
; P9LE: # %bb.0: # %entry
-; P9LE-NEXT: xxspltib vs34, 255
+; P9LE-NEXT: xxleqv vs34, vs34, vs34
; P9LE-NEXT: blr
entry:
ret <2 x i64> <i64 -1, i64 -1>
@@ -59,12 +59,12 @@ define <4 x i32> @One4i32() {
;
; P8LE-LABEL: One4i32:
; P8LE: # %bb.0: # %entry
-; P8LE-NEXT: vspltisb v2, -1
+; P8LE-NEXT: xxleqv vs34, vs34, vs34
; P8LE-NEXT: blr
;
; P9LE-LABEL: One4i32:
; P9LE: # %bb.0: # %entry
-; P9LE-NEXT: xxspltib vs34, 255
+; P9LE-NEXT: xxleqv vs34, vs34, vs34
; P9LE-NEXT: blr
entry:
ret <4 x i32> <i32 -1, i32 -1, i32 -1, i32 -1>
@@ -78,12 +78,12 @@ define <8 x i16> @One8i16() {
;
; P8LE-LABEL: One8i16:
; P8LE: # %bb.0: # %entry
-; P8LE-NEXT: vspltisb v2, -1
+; P8LE-NEXT: xxleqv vs34, vs34, vs34
; P8LE-NEXT: blr
;
; P9LE-LABEL: One8i16:
; P9LE: # %bb.0: # %entry
-; P9LE-NEXT: xxspltib vs34, 255
+; P9LE-NEXT: xxleqv vs34, vs34, vs34
; P9LE-NEXT: blr
entry:
ret <8 x i16> <i16 -1, i16 -1, i16 -1, i16 -1, i16 -1, i16 -1, i16 -1, i16 -1>
@@ -97,12 +97,12 @@ define <16 x i8> @One16i8() {
;
; P8LE-LABEL: One16i8:
; P8LE: # %bb.0: # %entry
-; P8LE-NEXT: vspltisb v2, -1
+; P8LE-NEXT: xxleqv vs34, vs34, vs34
; P8LE-NEXT: blr
;
; P9LE-LABEL: One16i8:
; P9LE: # %bb.0: # %entry
-; P9LE-NEXT: xxspltib vs34, 255
+; P9LE-NEXT: xxleqv vs34, vs34, vs34
; P9LE-NEXT: blr
entry:
ret <16 x i8> <i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1>
OpenPOWER on IntegriCloud