Fix PR1049 and CodeGen/Generic/2006-12-16-InlineAsmCrash.ll
authorChris Lattner <sabre@nondot.org>
Sat, 16 Dec 2006 21:14:48 +0000 (21:14 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 16 Dec 2006 21:14:48 +0000 (21:14 +0000)
commit36d439666c9f9f781d57dc2fd6d3cc80602fe095
tree60abec9bf9745044d0a58026f981dc290d0b94bd
parent286505a94483796860afeba7936d84772978e7d7
Fix PR1049 and CodeGen/Generic/2006-12-16-InlineAsmCrash.ll
by producing target constants instead of constants.  Constants can get
selected to li/movri instructions, which causes the scheduler to explode.

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