change selectiondag to add the sign extended versions of immediate operands
authorChris Lattner <sabre@nondot.org>
Tue, 8 Sep 2009 23:05:44 +0000 (23:05 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Sep 2009 23:05:44 +0000 (23:05 +0000)
commitd842962e27b10b6831c2421fa257e3fd58a85b18
treef21109ac541738051fdd3e258c078bafa09d40c6
parent9c7a988e3b014ed56e6765f9ceb68d80d56414c0
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
15 files changed:
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodesEmit.cpp
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
test/CodeGen/X86/2006-11-28-Memcpy.ll
test/CodeGen/X86/2007-09-18-ShuffleXformBug.ll
test/CodeGen/X86/2008-11-29-DivideConstant16bit.ll
test/CodeGen/X86/2008-11-29-DivideConstant16bitSigned.ll
test/CodeGen/X86/change-compare-stride-0.ll
test/CodeGen/X86/lea.ll
test/CodeGen/X86/mingw-alloca.ll
test/CodeGen/X86/narrow_op-2.ll
test/CodeGen/X86/pr1489.ll
test/CodeGen/X86/remat-mov-1.ll
test/CodeGen/X86/sse3.ll
test/CodeGen/X86/test-shrink.ll
test/CodeGen/X86/vec_shuffle-30.ll