[PATCH] D50765: [TargetLowering] Add support for non-uniform vectors to BuildSDIV
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 16 10:29:07 PDT 2018
lebedev.ri added inline comments.
================
Comment at: lib/CodeGen/SelectionDAG/TargetLowering.cpp:3553-3555
+ // Collect the shifts / magic values from each element.
+ if (!ISD::matchUnaryPredicate(N1, BuildSDIVPattern))
return SDValue();
----------------
Oh right, if `BuildSDIVPattern()` returned false, we exit here, right.
Repository:
rL LLVM
https://reviews.llvm.org/D50765
More information about the llvm-commits
mailing list