[llvm] 6ee4ea8 - [PowerPC][NFC] Test needs to include constant pool values
Nemanja Ivanovic via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 20 14:44:06 PDT 2023
Author: Nemanja Ivanovic
Date: 2023-03-20T16:43:59-05:00
New Revision: 6ee4ea8e2fe60647d9aecf42caed417cab13b091
URL: https://github.com/llvm/llvm-project/commit/6ee4ea8e2fe60647d9aecf42caed417cab13b091
DIFF: https://github.com/llvm/llvm-project/commit/6ee4ea8e2fe60647d9aecf42caed417cab13b091.diff
LOG: [PowerPC][NFC] Test needs to include constant pool values
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 8203de9cbc14..9a763e16122c 100644
--- a/llvm/test/CodeGen/PowerPC/pr61315.ll
+++ b/llvm/test/CodeGen/PowerPC/pr61315.ll
@@ -1,7 +1,23 @@
-; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
; RUN: llc -verify-machineinstrs -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr \
; 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 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 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-LABEL: ConvertExtractedMaskBitsToVect:
; CHECK: # %bb.0:
; CHECK-NEXT: addis r3, r2, .LCPI0_0 at toc@ha
@@ -29,6 +45,23 @@ 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 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 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-LABEL: ConvertExtractedMaskBitsToVect2:
; CHECK: # %bb.0:
; CHECK-NEXT: addis r3, r2, .LCPI1_0 at toc@ha
@@ -56,6 +89,23 @@ 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 16 # 0x10
+; CHECK-NEXT: .byte 17 # 0x11
+; CHECK-NEXT: .byte 16 # 0x10
+; CHECK-NEXT: .byte 17 # 0x11
+; CHECK-NEXT: .byte 16 # 0x10
+; CHECK-NEXT: .byte 17 # 0x11
+; CHECK-NEXT: .byte 16 # 0x10
+; CHECK-NEXT: .byte 17 # 0x11
+; CHECK-NEXT: .byte 6 # 0x6
+; CHECK-NEXT: .byte 6 # 0x6
+; CHECK-NEXT: .byte 6 # 0x6
+; CHECK-NEXT: .byte 6 # 0x6
+; CHECK-NEXT: .byte 6 # 0x6
+; CHECK-NEXT: .byte 6 # 0x6
+; CHECK-NEXT: .byte 6 # 0x6
+; CHECK-NEXT: .byte 6 # 0x6
; CHECK-LABEL: ConvertExtractedMaskBitsToVect3:
; CHECK: # %bb.0:
; CHECK-NEXT: addis r3, r2, .LCPI2_0 at toc@ha
More information about the llvm-commits
mailing list