diff options
| author | Jim Grosbach <grosbach@apple.com> | 2011-07-11 16:48:36 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2011-07-11 16:48:36 +0000 |
| commit | 581da642418d96bffa88ce840b0d564a0b6820cc (patch) | |
| tree | 93edd11bfe3435eae6fc81114ab5387b9687e01e /llvm/test/CodeGen/ARM/select-imm.ll | |
| parent | 5fb3f665166dd1080be05022fce7288d6328d910 (diff) | |
| download | bcm5719-llvm-581da642418d96bffa88ce840b0d564a0b6820cc.tar.gz bcm5719-llvm-581da642418d96bffa88ce840b0d564a0b6820cc.zip | |
Simplify printing of ARM shifted immediates.
Print shifted immediate values directly rather than as a payload+shifter
value pair. This makes for more readable output assembly code, simplifies
the instruction printer, and is consistent with how Thumb immediates are
displayed.
llvm-svn: 134902
Diffstat (limited to 'llvm/test/CodeGen/ARM/select-imm.ll')
| -rw-r--r-- | llvm/test/CodeGen/ARM/select-imm.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/select-imm.ll b/llvm/test/CodeGen/ARM/select-imm.ll index 43f8a66bb21..158c015f467 100644 --- a/llvm/test/CodeGen/ARM/select-imm.ll +++ b/llvm/test/CodeGen/ARM/select-imm.ll @@ -6,7 +6,7 @@ define i32 @t1(i32 %c) nounwind readnone { entry: ; ARM: t1: ; ARM: mov [[R1:r[0-9]+]], #101 -; ARM: orr [[R1b:r[0-9]+]], [[R1]], #1, #24 +; ARM: orr [[R1b:r[0-9]+]], [[R1]], #256 ; ARM: movgt r0, #123 ; ARMT2: t1: @@ -27,7 +27,7 @@ entry: ; ARM: t2: ; ARM: mov r0, #123 ; ARM: movgt r0, #101 -; ARM: orrgt r0, r0, #1, #24 +; ARM: orrgt r0, r0, #256 ; ARMT2: t2: ; ARMT2: mov r0, #123 |

