aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSean Silva <silvasean@google.com>2020-10-22 12:47:29 -0700
committerSean Silva <silvasean@google.com>2020-11-02 12:42:32 -0800
commit773ad135a30dbe0f969086e3ed518ab17502e9f5 (patch)
tree4cdffc63a005386602ffb716fe02b83b2fe394b6 /clang/lib/CodeGen/CodeGenModule.cpp
parent52b0fe64045d3fbbb7604f70066ac91970da612f (diff)
downloadllvm-773ad135a30dbe0f969086e3ed518ab17502e9f5.zip
llvm-773ad135a30dbe0f969086e3ed518ab17502e9f5.tar.gz
llvm-773ad135a30dbe0f969086e3ed518ab17502e9f5.tar.bz2
[mlir][Bufferize] Rename TestBufferPlacement to TestFinalizingBufferize
BufferPlacement is no longer part of bufferization. However, this test is an important test of "finalizing" bufferize passes. A "finalizing" bufferize conversion is one that performs a "full" conversion and expects all tensors to be gone from the program. This in particular involves rewriting funcs (including block arguments of the contained region), calls, and returns. The unique property of finalizing bufferization passes is that they cannot be done via a local transformation with suitable materializations to ensure composability (as other bufferization passes do). For example, if a call is rewritten, the callee needs to be rewritten otherwise the IR will end up invalid. Thus, finalizing bufferization passes require an atomic change to the entire program (e.g. the whole module). This new designation makes it clear also that it shouldn't be testing bufferization of linalg ops, so the tests have been updated to not use linalg.generic ops. (linalg.copy is still used as the "copy" op for copying into out-params) Differential Revision: https://reviews.llvm.org/D89979
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions