mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-28 16:28:58 +00:00

isBrImm should accept any non-constant immediate. Previously it was only accepting LanaiMCExpr ones which was wrong. Differential Revision: http://reviews.llvm.org/D18571 llvm-svn: 265032
14 lines
378 B
ArmAsm
14 lines
378 B
ArmAsm
// RUN: llvm-mc -triple lanai-unknown-unknown -show-encoding -o - %s | FileCheck %s
|
|
|
|
// CHECK: bt .Ltmp0 ! encoding: [0b1110000A,A,A,A]
|
|
// CHECK-NEXT: ! fixup A - offset: 0, value: .Ltmp0, kind: FIXUP_LANAI_25
|
|
bt 1f
|
|
nop
|
|
1:
|
|
|
|
// CHECK: bt foo ! encoding: [0b1110000A,A,A,A]
|
|
// CHECK-NEXT: ! fixup A - offset: 0, value: foo, kind: FIXUP_LANAI_25
|
|
bt foo
|
|
nop
|
|
|