From 785939c15e463a04514d50cda36bab1ee3febf97 Mon Sep 17 00:00:00 2001 From: Philip Reames Date: Fri, 21 Jul 2023 16:02:33 -0700 Subject: [PATCH] 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. --- .../rvv/fixed-vectors-constant-pool-alignment.ll | 46 ---------------------- 1 file changed, 46 deletions(-) delete mode 100644 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 a01d878..0000000 --- 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",@progbits,16 -; CHECK: .p2align 4, 0x0 -; CHECK: .byte -; CHECK: .globl constantpool_v16xi8 -; CHECK: .p2align 2 - store <16 x i8> , ptr %x - ret void -} - -define void @constantpool_v4xi32(ptr %x) { -; CHECK: .section .rodata.cst16,"aM",@progbits,16 -; CHECK: .p2align 4, 0x0 -; CHECK: .word -; CHECK: .globl constantpool_v4xi32 -; CHECK: .p2align 2 - store <4 x i32> , 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",@progbits,32 -; CHECK: .p2align 5, 0x0 -; CHECK: .quad -; CHECK: .globl constantpool_v4xi64 -; CHECK: .p2align 2 - store <4 x i64> , ptr %x - ret void -} - -define void @constantpool_i64(ptr %x) { -; CHECK: .section .sdata,"aw",@progbits -; CHECK: .p2align 3 -; CHECK: .quad 58373358938439 -; CHECK: .globl constantpool_i64 -; CHECK: .p2align 2 - store i64 58373358938439, ptr %x - ret void -} - - -- 2.7.4