1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC/Hexagon/hex-immediates.s
Brian Cain adf427a470 [hexagon] change AsmParser assertion to error
For immediates that can't be evaluated in assembler-mapped instructions, we
should return 'invalid operand' instead of assert.

llvm-svn: 359905
2019-05-03 16:50:38 +00:00

7 lines
190 B
ArmAsm

# RUN: llvm-mc -filetype=obj -arch=hexagon %s | llvm-objdump -d --print-imm-hex - | FileCheck %s
# CHECK: r3 = ##0x70000240
r3 = ##1879048768
# CHECK: r3 = ##-0x70000240
r3 = ##-1879048768