diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-08 23:05:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-08 23:05:44 +0000 |
commit | d842962e27b10b6831c2421fa257e3fd58a85b18 (patch) | |
tree | f21109ac541738051fdd3e258c078bafa09d40c6 /test/CodeGen/X86/change-compare-stride-0.ll | |
parent | 9c7a988e3b014ed56e6765f9ceb68d80d56414c0 (diff) | |
download | external_llvm-d842962e27b10b6831c2421fa257e3fd58a85b18.zip external_llvm-d842962e27b10b6831c2421fa257e3fd58a85b18.tar.gz external_llvm-d842962e27b10b6831c2421fa257e3fd58a85b18.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/change-compare-stride-0.ll')
-rw-r--r-- | test/CodeGen/X86/change-compare-stride-0.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/change-compare-stride-0.ll b/test/CodeGen/X86/change-compare-stride-0.ll index 87194d6..d520a6f 100644 --- a/test/CodeGen/X86/change-compare-stride-0.ll +++ b/test/CodeGen/X86/change-compare-stride-0.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | llc -march=x86 > %t -; RUN: grep {cmpl \$4294966818,} %t +; RUN: llc < %s -march=x86 > %t +; RUN: grep {cmpl \$-478,} %t ; RUN: not grep inc %t ; RUN: not grep {leal 1(} %t ; RUN: not grep {leal -1(} %t |