[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:21:16 PDT 2021
xbolva00 added inline comments.
================
Comment at: llvm/include/llvm/IR/MatrixBuilder.h:245
+ Intrinsic::getDeclaration(getModule(), Intrinsic::assume);
+ B.CreateCall(TheFn->getFunctionType(), TheFn, {Cmp}, Name);
+ }
----------------
B.CreateAssumption(Cmp) may work well as well? and shorter.
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