[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:
zhijian lin 2026-07-15 16:49:22 -04:00 committed by GitHub
parent 77e9b8cc15
commit 2cffd1922d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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())