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/2008-11-29-DivideConstant16bit.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/2008-11-29-DivideConstant16bit.ll')
-rw-r--r-- | test/CodeGen/X86/2008-11-29-DivideConstant16bit.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2008-11-29-DivideConstant16bit.ll b/test/CodeGen/X86/2008-11-29-DivideConstant16bit.ll index fe1870e..a43bfb8 100644 --- a/test/CodeGen/X86/2008-11-29-DivideConstant16bit.ll +++ b/test/CodeGen/X86/2008-11-29-DivideConstant16bit.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu | grep 63551 | count 1 -; ModuleID = '<stdin>' +; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu | grep -- -1985 | count 1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target triple = "i686-pc-linux-gnu" |