diff options
author | Wesley Peck <peckw@wesleypeck.com> | 2010-12-06 22:06:49 +0000 |
---|---|---|
committer | Wesley Peck <peckw@wesleypeck.com> | 2010-12-06 22:06:49 +0000 |
commit | dc80380de8646c5ac5b45ead13c15ad2caafcc5a (patch) | |
tree | f3e74128323409199fb3ed4036d0606f4b602324 /test | |
parent | 56a399023aba6cf1348533df04732950c43eaca7 (diff) | |
download | external_llvm-dc80380de8646c5ac5b45ead13c15ad2caafcc5a.zip external_llvm-dc80380de8646c5ac5b45ead13c15ad2caafcc5a.tar.gz external_llvm-dc80380de8646c5ac5b45ead13c15ad2caafcc5a.tar.bz2 |
Fixed reversed operands for IDIV and CMP instructions in MBlaze backend.
Use BRAD instead of BRD for indirect branches in MBlaze backend.
patch contributed by Jack Whitham!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/MBlaze/brind.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/MBlaze/jumptable.ll | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/MBlaze/brind.ll b/test/CodeGen/MBlaze/brind.ll index 9ec7f94..2229a87 100644 --- a/test/CodeGen/MBlaze/brind.ll +++ b/test/CodeGen/MBlaze/brind.ll @@ -28,7 +28,7 @@ loop: label %L3, label %L4, label %L5 ] - ; CHECK: brd {{r[0-9]*}} + ; CHECK: brad {{r[0-9]*}} L1: %tmp.1 = add i32 %a, %b @@ -68,5 +68,5 @@ finish: %tmp.8 = urem i32 %tmp.7, 5 br label %loop - ; CHECK: brd + ; CHECK: brad {{r[0-9]*}} } diff --git a/test/CodeGen/MBlaze/jumptable.ll b/test/CodeGen/MBlaze/jumptable.ll index 0861810..299084d 100644 --- a/test/CodeGen/MBlaze/jumptable.ll +++ b/test/CodeGen/MBlaze/jumptable.ll @@ -18,8 +18,8 @@ define i32 @jmptable(i32 %arg) i32 8, label %L8 i32 9, label %L9 ] - ; CHECK: lw [[REG:r[0-9]*]] - ; CHECK: brd [[REG]] + ; CHECK: lw [[REG:r[0-9]*]] + ; CHECK: brad [[REG]] L0: %var0 = add i32 %arg, 0 br label %DONE |