[PATCH] D87836: [ARM] Fold select_cc(vecreduce_[u|s][min|max], x) into VMINV or VMAXV
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 2 08:18:04 PDT 2020
dmgreen added a comment.
One last thing I thought of. Because this is pre-lowering we have to be careful with illegal types.
Can you check the types are the ones we expect them to be (v16i8/v8i16/v4i32). And add some tests for v2i64 (which should be scalarized).
================
Comment at: llvm/lib/Target/ARM/ARMISelLowering.h:758
SDValue LowerSELECT(SDValue Op, SelectionDAG &DAG) const;
+ SDValue LowerSelectCCToVectorReduction(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const;
----------------
This is no longer used?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87836/new/
https://reviews.llvm.org/D87836
More information about the llvm-commits
mailing list