mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
be7973e40b
Currently the instruction paddi always takes s34imm as the type for the 34 bit immediate. However, the PC Relative form of the instruction should not produce the same fixup as the non PC Relative form. This patch splits the s34imm type into s34imm and s34imm_pcrel so that two different fixups can be emitted. Reviewed By: nemanjai, #powerpc, kamaub Differential Revision: https://reviews.llvm.org/D83255
8 lines
277 B
ArmAsm
8 lines
277 B
ArmAsm
# RUN: not --crash llvm-mc -triple powerpc64-- --filetype=obj < %s 2> %t
|
|
# RUN: FileCheck < %t %s
|
|
# RUN: not --crash llvm-mc -triple powerpc64le-- --filetype=obj < %s 2> %t
|
|
# RUN: FileCheck < %t %s
|
|
|
|
# CHECK: Unsupported Modifier for fixup_ppc_imm34.
|
|
paddi 3, 13, symbol@toc, 0
|