summaryrefslogtreecommitdiff
path: root/test/CodeGen/MSP430/AddrMode-bis-rx.ll
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2010-03-06 11:41:12 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2010-03-06 11:41:12 +0000
commit9aff323a074658eee2de69862d202a8638b59c05 (patch)
tree3fe31410bc5e3e7157891018bc011ab36e0269ff /test/CodeGen/MSP430/AddrMode-bis-rx.ll
parent7b323a34fa034389e9e439f6c02eeb73e87ab9db (diff)
downloadllvm-9aff323a074658eee2de69862d202a8638b59c05.tar.gz
llvm-9aff323a074658eee2de69862d202a8638b59c05.tar.bz2
llvm-9aff323a074658eee2de69862d202a8638b59c05.tar.xz
Do not use '&' prefix for globals when register base field is non-zero, otherwise msp430-as will silently miscompile the code (TI's assembler report an error though).
This fixes PR6349 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/MSP430/AddrMode-bis-rx.ll')
-rw-r--r--test/CodeGen/MSP430/AddrMode-bis-rx.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/MSP430/AddrMode-bis-rx.ll b/test/CodeGen/MSP430/AddrMode-bis-rx.ll
index 115464d7f6..4f9a7248bb 100644
--- a/test/CodeGen/MSP430/AddrMode-bis-rx.ll
+++ b/test/CodeGen/MSP430/AddrMode-bis-rx.ll
@@ -29,7 +29,7 @@ define i8 @am3(i8 %x, i16 %n) nounwind {
ret i8 %3
}
; CHECK: am3:
-; CHECK: bis.b &bar(r14), r15
+; CHECK: bis.b bar(r14), r15
define i16 @am4(i16 %x) nounwind {
%1 = volatile load i16* inttoptr(i16 32 to i16*)
@@ -70,5 +70,5 @@ define i8 @am7(i8 %x, i16 %n) nounwind {
ret i8 %4
}
; CHECK: am7:
-; CHECK: bis.b &duh+2(r14), r15
+; CHECK: bis.b duh+2(r14), r15