[NFC][PowerPC] Delete redundant ISD::TRUNCATE from setTargetDAGCombine (#200902)
there is
```
setTargetDAGCombine({ISD::TRUNCATE, ISD::VECTOR_SHUFFLE});
if (Subtarget.useCRBits()) {
setTargetDAGCombine({ISD::TRUNCATE, ISD::SETCC, ISD::SELECT_CC}); }
```
we do not need to set the (ISD::TRUNCATE again when
Subtarget.useCRBits()
This commit is contained in:
parent
77e9b8cc15
commit
2cffd1922d
1 changed files with 1 additions and 1 deletions
|
|
@ -1477,7 +1477,7 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM,
|
|||
setTargetDAGCombine({ISD::TRUNCATE, ISD::VECTOR_SHUFFLE});
|
||||
|
||||
if (Subtarget.useCRBits()) {
|
||||
setTargetDAGCombine({ISD::TRUNCATE, ISD::SETCC, ISD::SELECT_CC});
|
||||
setTargetDAGCombine({ISD::SETCC, ISD::SELECT_CC});
|
||||
}
|
||||
|
||||
if (Subtarget.hasP8Vector())
|
||||
|
|
|
|||
Loading…
Reference in a new issue