[PATCH] D74406: Add RsqrtOp to LLVM dialect.
Alex Zinenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 11 07:14:12 PST 2020
ftynse requested changes to this revision.
ftynse added a comment.
This revision now requires changes to proceed.
I don't think this belongs to the LLVM dialect. LLVM IR does not have rsqrt as operation or intrinsics, so neither should the dialect. We can have it in a higher-level dialect that lowers to `llvm.intr.sqrt` (to introduce) and `llvm.fdiv` (already available). But this expansion should _not_ happen when converting from the LLVM dialect to LLVM IR, that mapping is intentionally kept trivial.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74406/new/
https://reviews.llvm.org/D74406
More information about the llvm-commits
mailing list