[PATCH] D20019: [PPC] exploitation of new xscmp*, as well as xsmaxcdp and xsmincdp
Ehsan Amiri via llvm-commits
llvm-commits at lists.llvm.org
Wed May 11 21:17:49 PDT 2016
amehsan added inline comments.
================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:6241-6244
@@ -6240,2 +6240,6 @@
SDValue PPCTargetLowering::LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const {
+
+ if (Subtarget.hasP9Vector())
+ return Op;
+
// Not FP? Not a fsel.
----------------
There are advantage and disadvantages in using fsel when one of the operands is zero. Please let me know if you have any comment here.
http://reviews.llvm.org/D20019
More information about the llvm-commits
mailing list