If the type legalizer actually legalized anything
authorDuncan Sands <baldrick@free.fr>
Mon, 24 Nov 2008 14:53:14 +0000 (14:53 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 24 Nov 2008 14:53:14 +0000 (14:53 +0000)
commit25cf2275ff7de3de3bc0e508abaf457413d74725
tree9cedfc835e90686a918a93c805e119b187702bed
parent19ea77f09d7226d4515b67e72be2f7b4dfee36dd
If the type legalizer actually legalized anything
(this doesn't happen that often, since most code
does not use illegal types) then follow it by a
DAG combiner run that is allowed to generate
illegal operations but not illegal types.  I didn't
modify the target combiner code to distinguish like
this between illegal operations and illegal types,
so it will not produce illegal operations as well
as not producing illegal types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59960 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Target/PowerPC/PPCISelLowering.cpp