Do everything up to generating code to try to get a register for
authorEric Christopher <echristo@apple.com>
Tue, 20 Mar 2012 01:07:58 +0000 (01:07 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 20 Mar 2012 01:07:58 +0000 (01:07 +0000)
commit8c5293c9556317143505c085cf428e11962e1273
tree66fc7d311692c91df4ed5ae8e2c7ab6dc9ce4f5f
parentc415af225d9546a66ac9f7368a973e0be25b438d
Do everything up to generating code to try to get a register for
a variable. The previous code would break the debug info changing
code invariant. This will regress debug info for arguments where
we elide the alloca created.

Fixes rdar://11066468

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153074 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp