mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
09b4588309
solved as a constant at compilation time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204898 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
177 B
ArmAsm
9 lines
177 B
ArmAsm
@ RUN: not llvm-mc -triple=armv7-linux-gnuabi -filetype=obj < %s 2>&1 | FileCheck %s
|
|
|
|
.text
|
|
cmp r2, #(l2 - l1) >> 6
|
|
@ CHECK: error: invalid operand for instruction
|
|
|
|
l1:
|
|
l2:
|