diff options
author | Aart Bik <ajcbik@google.com> | 2021-07-09 13:45:23 -0700 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2021-07-12 14:59:48 -0700 |
commit | 622eb169f650ad0502829cf4b068a5d9f7f7a209 (patch) | |
tree | b4230e10e7e1dac9c7b2e5bd52cd599dee073862 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | ec1cdee6aaaf7b51c0e0271ad09136b47a76608b (diff) | |
download | llvm-622eb169f650ad0502829cf4b068a5d9f7f7a209.zip llvm-622eb169f650ad0502829cf4b068a5d9f7f7a209.tar.gz llvm-622eb169f650ad0502829cf4b068a5d9f7f7a209.tar.bz2 |
[mlir][sparse] add restrictive versions of division support
Right now, we only accept x/c with nonzero c, since this
conceptually can be treated as a x*(1/c) conjunction for both
FP and INT as far as lattice computations go. The codegen
keeps the division though to preserve precise semantics.
See discussion:
https://llvm.discourse.group/t/sparse-tensors-in-mlir/3389/28
Reviewed By: gussmith23
Differential Revision: https://reviews.llvm.org/D105731
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions