diff options
author | Duncan Sands <baldrick@free.fr> | 2008-11-24 14:53:14 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-11-24 14:53:14 +0000 |
commit | a3e2cd08d62cb0602413589986bcd6e94ea56ba3 (patch) | |
tree | 9cedfc835e90686a918a93c805e119b187702bed /lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | fd274651fc921a00c063eafe07dd767e18c0c7c0 (diff) | |
download | external_llvm-a3e2cd08d62cb0602413589986bcd6e94ea56ba3.zip external_llvm-a3e2cd08d62cb0602413589986bcd6e94ea56ba3.tar.gz external_llvm-a3e2cd08d62cb0602413589986bcd6e94ea56ba3.tar.bz2 |
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
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index 2b3aa2f..b02acaf 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp @@ -4436,8 +4436,8 @@ PPCTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI, // Target Optimization Hooks //===----------------------------------------------------------------------===// -SDValue PPCTargetLowering::PerformDAGCombine(SDNode *N, - DAGCombinerInfo &DCI) const { +SDValue PPCTargetLowering::PerformDAGCombine(SDNode *N, + DAGCombinerInfo &DCI) const { TargetMachine &TM = getTargetMachine(); SelectionDAG &DAG = DCI.DAG; switch (N->getOpcode()) { |