diff options
author | Sean Silva <silvasean@google.com> | 2020-11-30 15:20:30 -0800 |
---|---|---|
committer | Sean Silva <silvasean@google.com> | 2020-11-30 17:04:14 -0800 |
commit | 774f1d3ffd458d6cb82d5039758ef1cf6370957f (patch) | |
tree | 5efb83802ab68b0ead57aaf3045e0eeeb8c24eed /clang/lib/Lex/ModuleMap.cpp | |
parent | 61da501b6a1bf845c3da9a7e761a3c6a3b6cf21a (diff) | |
download | llvm-774f1d3ffd458d6cb82d5039758ef1cf6370957f.zip llvm-774f1d3ffd458d6cb82d5039758ef1cf6370957f.tar.gz llvm-774f1d3ffd458d6cb82d5039758ef1cf6370957f.tar.bz2 |
[mlir] Small cleanups to func-bufferize/finalizing-bufferize
- Address TODO in scf-bufferize: the argument materialization issue is
now fixed and the code is now in Transforms/Bufferize.cpp
- Tighten up finalizing-bufferize to avoid creating invalid IR when
operand types potentially change
- Tidy up the testing of func-bufferize, and move appropriate tests
to a new finalizing-bufferize.mlir
- The new stricter checking in finalizing-bufferize revealed that we
needed a DimOp conversion pattern (found when integrating into npcomp).
Previously, the converion infrastructure was blindly changing the
operand type during finalization, which happened to work due to
DimOp's tensor/memref polymorphism, but is generally not encouraged
(the new pattern is the way to tell the conversion infrastructure that
it is legal to change that type).
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions