summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LoopTiling.cpp
diff options
context:
space:
mode:
authorNicolas Vasilache <ntv@google.com>2019-01-26 06:59:23 -0800
committerjpienaar <jpienaar@google.com>2019-03-29 15:39:53 -0700
commit81c7f2e2f3bf34bc45915bbb3eb44f37331aff91 (patch)
treefa264aca53061508729c715b53c3714b363233d3 /mlir/lib/Transforms/LoopTiling.cpp
parent75c21e1de01079cb65654d1c88007dba8772e6a1 (diff)
downloadbcm5719-llvm-81c7f2e2f3bf34bc45915bbb3eb44f37331aff91.tar.gz
bcm5719-llvm-81c7f2e2f3bf34bc45915bbb3eb44f37331aff91.zip
Cleanup resource management and rename recursive matchers
This CL follows up on a memory leak issue related to SmallVector growth that escapes the BumpPtrAllocator. The fix is to properly use ArrayRef and placement new to define away the issue. The following renaming is also applied: 1. MLFunctionMatcher -> NestedPattern 2. MLFunctionMatches -> NestedMatch As a consequence all allocations are now guaranteed to live on the BumpPtrAllocator. PiperOrigin-RevId: 231047766
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud