[PATCH] D47979: [X86] Lowering Mask Scalar add/sub/mul/div intrinsics to native IR (Clang part)
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 9 21:23:47 PDT 2018
craig.topper added inline comments.
================
Comment at: lib/CodeGen/CGBuiltin.cpp:9926
+ Value *Div = Builder.CreateFDiv(A, B);
+ llvm::VectorType *MaskTy = llvm::VectorType::get(Builder.getInt1Ty(),
+ cast<IntegerType>(Mask->getType())->getBitWidth());
----------------
Can we just emit the and+icmp that the other operations end up with?
Repository:
rC Clang
https://reviews.llvm.org/D47979
More information about the cfe-commits
mailing list