[llvm] 6dbb2a7 - [PowerPC] Update pr61315.ll to address D146632 failure
Maryam Moghadas via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 5 19:25:05 PDT 2023
Author: Maryam Moghadas
Date: 2023-04-05T21:24:59-05:00
New Revision: 6dbb2a717a14327e086d22265440dfc9b1d842b6
URL: https://github.com/llvm/llvm-project/commit/6dbb2a717a14327e086d22265440dfc9b1d842b6
DIFF: https://github.com/llvm/llvm-project/commit/6dbb2a717a14327e086d22265440dfc9b1d842b6.diff
LOG: [PowerPC] Update pr61315.ll to address D146632 failure
This patch is to update pr61315.ll what was needed as part of
D146632 and caused build failures.
Reviewed By: stefanp
Differential Revision: https://reviews.llvm.org/D147675
Added:
Modified:
llvm/test/CodeGen/PowerPC/pr61315.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/PowerPC/pr61315.ll b/llvm/test/CodeGen/PowerPC/pr61315.ll
index de65945f963ad..87208691eb047 100644
--- a/llvm/test/CodeGen/PowerPC/pr61315.ll
+++ b/llvm/test/CodeGen/PowerPC/pr61315.ll
@@ -2,34 +2,33 @@
; RUN: -mcpu=pwr9 -mtriple=powerpc64 < %s | FileCheck %s
define dso_local <16 x i8> @ConvertExtractedMaskBitsToVect(<16 x i8> noundef %0) local_unnamed_addr #0 {
; CHECK: .LCPI0_0:
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
; CHECK-LABEL: ConvertExtractedMaskBitsToVect:
; CHECK: # %bb.0:
; CHECK-NEXT: addis r3, r2, .LCPI0_0 at toc@ha
-; CHECK-NEXT: xxlxor v4, v4, v4
; CHECK-NEXT: xxlxor v3, v3, v3
; CHECK-NEXT: addi r3, r3, .LCPI0_0 at toc@l
; CHECK-NEXT: lxv vs0, 0(r3)
; CHECK-NEXT: addis r3, r2, .LCPI0_1 at toc@ha
; CHECK-NEXT: addi r3, r3, .LCPI0_1 at toc@l
-; CHECK-NEXT: xxperm v4, v2, vs0
+; CHECK-NEXT: xxperm v2, v3, vs0
; CHECK-NEXT: lxv vs0, 0(r3)
-; CHECK-NEXT: xxland v2, v4, vs0
+; CHECK-NEXT: xxland v2, v2, vs0
; CHECK-NEXT: vcmpequb v2, v2, v3
; CHECK-NEXT: xxlnor v2, v2, v2
; CHECK-NEXT: blr
@@ -46,34 +45,33 @@ define dso_local <16 x i8> @ConvertExtractedMaskBitsToVect(<16 x i8> noundef %0)
define dso_local <16 x i8> @ConvertExtractedMaskBitsToVect2(<16 x i8> noundef %0) local_unnamed_addr #0 {
; CHECK: .LCPI1_0:
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
; CHECK-LABEL: ConvertExtractedMaskBitsToVect2:
; CHECK: # %bb.0:
; CHECK-NEXT: addis r3, r2, .LCPI1_0 at toc@ha
-; CHECK-NEXT: xxlxor v4, v4, v4
; CHECK-NEXT: xxlxor v3, v3, v3
; CHECK-NEXT: addi r3, r3, .LCPI1_0 at toc@l
; CHECK-NEXT: lxv vs0, 0(r3)
; CHECK-NEXT: addis r3, r2, .LCPI1_1 at toc@ha
; CHECK-NEXT: addi r3, r3, .LCPI1_1 at toc@l
-; CHECK-NEXT: xxperm v4, v2, vs0
+; CHECK-NEXT: xxperm v2, v3, vs0
; CHECK-NEXT: lxv vs0, 0(r3)
-; CHECK-NEXT: xxland v2, v4, vs0
+; CHECK-NEXT: xxland v2, v2, vs0
; CHECK-NEXT: vcmpequb v2, v2, v3
; CHECK-NEXT: xxlnor v2, v2, v2
; CHECK-NEXT: blr
@@ -90,34 +88,33 @@ define dso_local <16 x i8> @ConvertExtractedMaskBitsToVect2(<16 x i8> noundef %0
define dso_local <16 x i8> @ConvertExtractedMaskBitsToVect3(<8 x i16> noundef %0) local_unnamed_addr #0 {
; CHECK: .LCPI2_0:
-; CHECK-NEXT: .byte 6 # 0x6
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 6 # 0x6
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 6 # 0x6
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 6 # 0x6
-; CHECK-NEXT: .byte 7 # 0x7
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
-; CHECK-NEXT: .byte 16 # 0x10
+; CHECK-NEXT: .byte 22 # 0x16
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 22 # 0x16
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 22 # 0x16
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 22 # 0x16
+; CHECK-NEXT: .byte 23 # 0x17
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
+; CHECK-NEXT: .byte 0 # 0x0
; CHECK-LABEL: ConvertExtractedMaskBitsToVect3:
; CHECK: # %bb.0:
; CHECK-NEXT: addis r3, r2, .LCPI2_0 at toc@ha
-; CHECK-NEXT: xxlxor v4, v4, v4
; CHECK-NEXT: xxlxor v3, v3, v3
; CHECK-NEXT: addi r3, r3, .LCPI2_0 at toc@l
; CHECK-NEXT: lxv vs0, 0(r3)
; CHECK-NEXT: addis r3, r2, .LCPI2_1 at toc@ha
; CHECK-NEXT: addi r3, r3, .LCPI2_1 at toc@l
-; CHECK-NEXT: xxperm v4, v2, vs0
+; CHECK-NEXT: xxperm v2, v3, vs0
; CHECK-NEXT: lxv vs0, 0(r3)
-; CHECK-NEXT: xxland v2, v4, vs0
+; CHECK-NEXT: xxland v2, v2, vs0
; CHECK-NEXT: vcmpequb v2, v2, v3
; CHECK-NEXT: xxlnor v2, v2, v2
; CHECK-NEXT: blr
More information about the llvm-commits
mailing list