aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2008-11-29-DivideConstant16bitSigned.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
commitd842962e27b10b6831c2421fa257e3fd58a85b18 (patch)
treef21109ac541738051fdd3e258c078bafa09d40c6 /test/CodeGen/X86/2008-11-29-DivideConstant16bitSigned.ll
parent9c7a988e3b014ed56e6765f9ceb68d80d56414c0 (diff)
downloadexternal_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-DivideConstant16bitSigned.ll')
-rw-r--r--test/CodeGen/X86/2008-11-29-DivideConstant16bitSigned.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2008-11-29-DivideConstant16bitSigned.ll b/test/CodeGen/X86/2008-11-29-DivideConstant16bitSigned.ll
index faf7cd4..7c811af 100644
--- a/test/CodeGen/X86/2008-11-29-DivideConstant16bitSigned.ll
+++ b/test/CodeGen/X86/2008-11-29-DivideConstant16bitSigned.ll
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu | grep 63551
-; ModuleID = '<stdin>'
+; RUN: llc < %s -mtriple=i686-pc-linux-gnu | grep -- -1985
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"