[PATCH] D46528: [DAGCombine][X86][AArch64] Masked merge unfolding: vector edition.
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 10 09:58:59 PDT 2018
spatel added inline comments.
================
Comment at: lib/Target/AArch64/AArch64ISelLowering.h:453-459
+ bool hasAndNotCompare(SDValue Y) const override {
+ EVT VT = Y.getValueType();
+
+ if (VT.isVector())
+ return false;
+
+ return hasAndNot(Y);
----------------
No need to change hasAndNotCompare? Seem clearer to just "return true" as we do today.
Repository:
rL LLVM
https://reviews.llvm.org/D46528
More information about the llvm-commits
mailing list