mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
246602f2b6
The replacement doesn't work for llc, but it is needed by patchable-function-entry.ll. This reverts commit aa9a30b83a06e3e5e68e32ea645ec2d9edc27efc.
20 lines
755 B
ArmAsm
20 lines
755 B
ArmAsm
# RUN: llvm-mc %s -triple=riscv32 -mattr=+c -riscv-no-aliases \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
|
|
# RUN: llvm-mc %s -triple=riscv64 -mattr=+c -riscv-no-aliases \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
|
|
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c < %s \
|
|
# RUN: | llvm-objdump -M no-aliases -d - \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
|
|
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+c < %s \
|
|
# RUN: | llvm-objdump -M no-aliases -d - \
|
|
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
|
|
|
|
# CHECK-EXPAND: c.lw s0, 0(s1)
|
|
c.lw x8, (x9)
|
|
# CHECK-EXPAND: c.sw s0, 0(s1)
|
|
c.sw x8, (x9)
|
|
# CHECK-EXPAND: c.lwsp s0, 0(sp)
|
|
c.lwsp x8, (x2)
|
|
# CHECK-EXPAND: c.swsp s0, 0(sp)
|
|
c.swsp x8, (x2)
|