[PATCH] D105395: [IRBuilder] Add type argument to CreateMaskedLoad/Gather

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 3 06:22:45 PDT 2021


nikic added inline comments.


================
Comment at: mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td:1519
   string llvmBuilder = [{
+    llvm::Type *Ty = $data->getType()->getPointerElementType();
     $res = $pass_thru.empty() ? builder.CreateMaskedLoad(
----------------
Would be great if someone familiar with MLIR could look into removing the getPointerElementType() calls in this file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105395/new/

https://reviews.llvm.org/D105395



More information about the cfe-commits mailing list