summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/lea.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-08 23:05:44 +0000
committerChris Lattner <sabre@nondot.org>2009-09-08 23:05:44 +0000
commite819cfbc71f042d71cae445dacaea162878f33c8 (patch)
treea6cd60ffbfec6133aa573f3ff8d20374229976ec /llvm/test/CodeGen/X86/lea.ll
parent22f339010c2ef36ecf794b02a5bb5252272d4af0 (diff)
downloadbcm5719-llvm-e819cfbc71f042d71cae445dacaea162878f33c8.tar.gz
bcm5719-llvm-e819cfbc71f042d71cae445dacaea162878f33c8.zip
change selectiondag to add the sign extended versions of immediate operands
to instructions instead of zero extended ones. This makes the asmprinter print signed values more consistently. This apparently only really affects the X86 backend. llvm-svn: 81265
Diffstat (limited to 'llvm/test/CodeGen/X86/lea.ll')
-rw-r--r--llvm/test/CodeGen/X86/lea.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/lea.ll b/llvm/test/CodeGen/X86/lea.ll
index 1b295a4265e..b2b388fca49 100644
--- a/llvm/test/CodeGen/X86/lea.ll
+++ b/llvm/test/CodeGen/X86/lea.ll
@@ -28,7 +28,7 @@ bb2:
ret i32 %x_offs
; CHECK: test2:
; CHECK: leal -5(%rdi), %eax
-; CHECK: andl $4294967292, %eax
+; CHECK: andl $-4, %eax
; CHECK: negl %eax
; CHECK: leal -4(%rdi,%rax), %eax
}
OpenPOWER on IntegriCloud