[all-commits] [llvm/llvm-project] 2cffd1: [NFC][PowerPC] Delete redundant ISD::TRUNCATE from...

zhijian lin via All-commits all-commits at lists.llvm.org
Wed Jul 15 13:49:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cffd1922d06ec79f3c602c4434280450f50f8ba
      https://github.com/llvm/llvm-project/commit/2cffd1922d06ec79f3c602c4434280450f50f8ba
  Author: zhijian lin <zhijian at ca.ibm.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp

  Log Message:
  -----------
  [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()



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list