[PATCH] D47012: [X86] Scalar mask and scalar move optimizations

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 17 13:51:56 PDT 2018


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:32068
+        isa<ConstantSDNode>(AndNode.getOperand(1)) &&
+        dyn_cast<ConstantSDNode>(AndNode.getOperand(1))->getAPIntValue() == 1) {
+      // LHS and RHS swapped due to
----------------
use cast not dyn_cast


Repository:
  rL LLVM

https://reviews.llvm.org/D47012





More information about the llvm-commits mailing list