aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/MSP430
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2013-07-14 18:19:44 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2013-07-14 18:19:44 +0000
commitc7c4a7867cae8fb0ad5c79c3e67d75e415287626 (patch)
tree435c289ce6753bd6553655e092af6b1884c4feb7 /test/CodeGen/MSP430
parenteeea96d4c0c839c17d6ac90fd4730b7b119596c7 (diff)
downloadexternal_llvm-c7c4a7867cae8fb0ad5c79c3e67d75e415287626.zip
external_llvm-c7c4a7867cae8fb0ad5c79c3e67d75e415287626.tar.gz
external_llvm-c7c4a7867cae8fb0ad5c79c3e67d75e415287626.tar.bz2
Use conventional syntax for branches.
Patch by Job! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/MSP430')
-rw-r--r--test/CodeGen/MSP430/indirectbr2.ll2
-rw-r--r--test/CodeGen/MSP430/jumptable.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/MSP430/indirectbr2.ll b/test/CodeGen/MSP430/indirectbr2.ll
index dc2abf5..93788b6 100644
--- a/test/CodeGen/MSP430/indirectbr2.ll
+++ b/test/CodeGen/MSP430/indirectbr2.ll
@@ -5,7 +5,7 @@ define internal i16 @foo(i16 %i) nounwind {
entry:
%tmp1 = getelementptr inbounds [5 x i8*]* @C.0.2070, i16 0, i16 %i ; <i8**> [#uses=1]
%gotovar.4.0 = load i8** %tmp1, align 4 ; <i8*> [#uses=1]
-; CHECK: mov.w .LC.0.2070(r12), pc
+; CHECK: br .LC.0.2070(r12)
indirectbr i8* %gotovar.4.0, [label %L5, label %L4, label %L3, label %L2, label %L1]
L5: ; preds = %bb2
diff --git a/test/CodeGen/MSP430/jumptable.ll b/test/CodeGen/MSP430/jumptable.ll
index 903ac13..239d79e 100644
--- a/test/CodeGen/MSP430/jumptable.ll
+++ b/test/CodeGen/MSP430/jumptable.ll
@@ -13,7 +13,7 @@ entry:
%0 = load i16* %i.addr, align 2
; CHECK: mov.w #2, r14
; CHECK: call #__mulhi3hw_noint
-; CHECK: mov.w .LJTI0_0(r15), pc
+; CHECK: br .LJTI0_0(r15)
switch i16 %0, label %sw.default [
i16 0, label %sw.bb
i16 1, label %sw.bb1