[PATCH] D83605: [SelectionDAG][WebAssembly] Recognize splat value ABS operations
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 9 07:47:11 PST 2021
RKSimon added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:2316
+ return true;
+ break;
case ISD::ADD:
----------------
I don't think you need the fall through
```
case ISD::ABS:
return isSplatValue(V.getOperand(0), DemandedElts, UndefElts);
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83605/new/
https://reviews.llvm.org/D83605
More information about the llvm-commits
mailing list