Fix gcc.c-torture/compile/920520-1.c by inserting bitconverts
authorChris Lattner <sabre@nondot.org>
Tue, 21 Oct 2008 00:45:36 +0000 (00:45 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 21 Oct 2008 00:45:36 +0000 (00:45 +0000)
commit01426e1a2755b05330b55b93f91887f5ff816adb
treeae9f16c4053f9635bd0a87ff06effd04b30c55d1
parent09e8ca8a582bb67ef290d77d9b9441716dd6ba2e
Fix gcc.c-torture/compile/920520-1.c by inserting bitconverts
for strange asm conditions earlier.  In this case, we have a
double being passed in an integer reg class.  Convert to like
sized integer register so that we allocate the right number
for the class (two i32's for the f64 in this case).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57862 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
test/CodeGen/X86/2008-10-20-AsmDoubleInI32.ll [new file with mode: 0644]