[llvm] 785939c - Revert "[RISCV] Add test which shows alignment of constant pools and the functions which followed"
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 21 16:03:23 PDT 2023
Author: Philip Reames
Date: 2023-07-21T16:03:15-07:00
New Revision: 785939c15e463a04514d50cda36bab1ee3febf97
URL: https://github.com/llvm/llvm-project/commit/785939c15e463a04514d50cda36bab1ee3febf97
DIFF: https://github.com/llvm/llvm-project/commit/785939c15e463a04514d50cda36bab1ee3febf97.diff
LOG: Revert "[RISCV] Add test which shows alignment of constant pools and the functions which followed"
This reverts commit cbf2a6ce197e8176c01316fe25400aae0b7390c4. This was a precommited test for a change which is being abandoned.
Added:
Modified:
Removed:
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-constant-pool-alignment.ll
################################################################################
diff --git a/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-constant-pool-alignment.ll b/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-constant-pool-alignment.ll
deleted file mode 100644
index a01d878f53c800..00000000000000
--- a/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-constant-pool-alignment.ll
+++ /dev/null
@@ -1,46 +0,0 @@
-; RUN: llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs < %s | FileCheck %s
-
-define void @constantpool_v16xi8(ptr %x) {
-; CHECK: .section .rodata.cst16,"aM", at progbits,16
-; CHECK: .p2align 4, 0x0
-; CHECK: .byte
-; CHECK: .globl constantpool_v16xi8
-; CHECK: .p2align 2
- store <16 x i8> <i8 0, i8 1, i8 3, i8 3, i8 4, i8 5, i8 15, i8 7, i8 27, i8 9, i8 10, i8 11, i8 12, i8 13, i8 12, i8 15>, ptr %x
- ret void
-}
-
-define void @constantpool_v4xi32(ptr %x) {
-; CHECK: .section .rodata.cst16,"aM", at progbits,16
-; CHECK: .p2align 4, 0x0
-; CHECK: .word
-; CHECK: .globl constantpool_v4xi32
-; CHECK: .p2align 2
- store <4 x i32> <i32 -27, i32 255, i32 3, i32 63>, ptr %x
- ret void
-}
-
-; Note that to exercise the 64 bit alignment case, we need four elements
-; as all of the two element small constant cases get optimized to some
-; other sequence
-define void @constantpool_v4xi64(ptr %x) {
-; CHECK: .section .rodata.cst32,"aM", at progbits,32
-; CHECK: .p2align 5, 0x0
-; CHECK: .quad
-; CHECK: .globl constantpool_v4xi64
-; CHECK: .p2align 2
- store <4 x i64> <i64 -27, i64 255, i64 3, i64 63>, ptr %x
- ret void
-}
-
-define void @constantpool_i64(ptr %x) {
-; CHECK: .section .sdata,"aw", at progbits
-; CHECK: .p2align 3
-; CHECK: .quad 58373358938439
-; CHECK: .globl constantpool_i64
-; CHECK: .p2align 2
- store i64 58373358938439, ptr %x
- ret void
-}
-
-
More information about the llvm-commits
mailing list