mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
77679be721
Summary: This patch implements MC support for tail psuedo instruction. A follow-up patch implements the codegen support as well as handling of the indirect tail pseudo instruction. Reviewers: asb, apazos Reviewed By: asb Subscribers: rbar, johnrusso, simoncook, jordy.potman.lists, sabuasal, niosHD, kito-cheng, shiva0217, zzheng, edward-jones, llvm-commits Differential Revision: https://reviews.llvm.org/D46221 llvm-svn: 332634
13 lines
856 B
ArmAsm
13 lines
856 B
ArmAsm
# RUN: not llvm-mc -triple riscv32 < %s 2>&1 | FileCheck %s
|
|
# RUN: not llvm-mc -triple riscv64 < %s 2>&1 | FileCheck %s
|
|
|
|
tail 1234 # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name
|
|
tail %pcrel_hi(1234) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name
|
|
tail %pcrel_lo(1234) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name
|
|
tail %pcrel_hi(foo) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name
|
|
tail %pcrel_lo(foo) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name
|
|
tail %hi(1234) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name
|
|
tail %lo(1234) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name
|
|
tail %hi(foo) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name
|
|
tail %lo(foo) # CHECK: :[[@LINE]]:6: error: operand must be a bare symbol name
|