[PATCH] D49837: [SelectionDAG] Handle unary SelectPatternFlavor for ABS case in SelectionDAGBuilder::visitSelect.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 15 05:02:05 PDT 2019
RKSimon added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:554
setOperationAction(ISD::SUB, VT, Legal);
- setOperationAction(ISD::ABS, VT, Custom);
+ if (VT.getSizeInBits() == 128)
+ setOperationAction(ISD::ABS, VT, Custom);
----------------
@nemanjai Use VT.is128BitVector() ? Worth adding as a pre-commit now?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D49837/new/
https://reviews.llvm.org/D49837
More information about the llvm-commits
mailing list