Reapply r60997, this time without forgetting that
authorDuncan Sands <baldrick@free.fr>
Sun, 14 Dec 2008 09:43:15 +0000 (09:43 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 14 Dec 2008 09:43:15 +0000 (09:43 +0000)
commitb6862bbe34be4a832f709596f8dc971ab9895b06
tree06957d994eabaaa541e918885f30068abf1039ca
parent3c8da594829cf88817a6a24c92e38a792184d7a8
Reapply r60997, this time without forgetting that
target constants are allowed to have an illegal
type.

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