[PATCH] D102478: [Matrix] Emit assumption that matrix indices are valid.

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 16 09:16:47 PDT 2021


xbolva00 added inline comments.


================
Comment at: llvm/include/llvm/IR/MatrixBuilder.h:242
+    auto *Cmp = B.CreateICmpULT(Idx, NumElts);
+    if (!isa<llvm::ConstantInt>(Cmp)) {
+      Function *TheFn =
----------------
Prefer early exit?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102478



More information about the cfe-commits mailing list