[PATCH] D131551: [RISCV] Fold vector binary operatrion into select with identity constant.
    Jianjian Guan via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Oct 21 00:20:04 PDT 2022
    
    
  
jacquesguan added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:2220
       switch (Opcode) {
-      case ISD::ADD: // X + 0 --> X
-      case ISD::SUB: // X - 0 --> X
----------------
craig.topper wrote:
> This needs to be rebased.
Done.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131551/new/
https://reviews.llvm.org/D131551
    
    
More information about the llvm-commits
mailing list