mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 08:51:43 +00:00
[RISCV] Update MC compression tests
Summary: This patch updates MC tests related to compression in RISCV to insure they work correctly with automatic compression and relaxation enabled. This is the first part of a series of patches to implement automatic compression for RISCV. Reviewers: asb, apazos Reviewed By: asb Subscribers: shiva0217, efriedma, llvm-commits, asb, rbar, johnrusso, simoncook, jordy.potman.lists, apazos, niosHD, kito-cheng Differential Revision: https://reviews.llvm.org/D43328 llvm-svn: 329441
This commit is contained in:
parent
f8483fb4ea
commit
398e5f03a7
@ -10,8 +10,9 @@
|
||||
.type alpha,@function
|
||||
alpha:
|
||||
# BB#0:
|
||||
addi sp, sp, -16
|
||||
c.addi sp, -16
|
||||
c.lw a0, 0(a0)
|
||||
c.lw a1, 4(a0)
|
||||
# CHECK-INST: c.nop
|
||||
.Lfunc_end0:
|
||||
.size alpha, .Lfunc_end0-alpha
|
||||
|
@ -1,7 +1,7 @@
|
||||
# RUN: llvm-mc -triple=riscv32 -mattr=+c -riscv-no-aliases -show-encoding < %s \
|
||||
# RUN: | FileCheck -check-prefixes=CHECK,CHECK-INST %s
|
||||
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c -riscv-no-aliases < %s \
|
||||
# RUN: | llvm-objdump -d - | FileCheck -check-prefix=CHECK-INST %s
|
||||
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c < %s \
|
||||
# RUN: | llvm-objdump -d -riscv-no-aliases - | FileCheck -check-prefix=CHECK-INST %s
|
||||
# RUN: not llvm-mc -triple riscv32 \
|
||||
# RUN: -riscv-no-aliases -show-encoding < %s 2>&1 \
|
||||
# RUN: | FileCheck -check-prefixes=CHECK-NO-EXT %s
|
||||
|
Loading…
Reference in New Issue
Block a user