[all-commits] [llvm/llvm-project] 213ab9: [flang][NFC] Use tablegen to reduce MemoryAllocati...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Fri Apr 26 02:57:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 213ab9610ced9152f70f5b9777347c28e777a0ff
https://github.com/llvm/llvm-project/commit/213ab9610ced9152f70f5b9777347c28e777a0ff
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/Transforms/MemoryAllocation.cpp
Log Message:
-----------
[flang][NFC] Use tablegen to reduce MemoryAllocationOpt boilerplate (#90062)
This is another one that runs on functions but isn't appropriate to also
run on other top level operations. It needs to find all paths that
return from the function to free heap allocated memory. There isn't a
generic concept for general top level operations which is equivalent to
looking for function returns.
I removed the manual definition of the options structure because there
is already an identical definition in tablegen and the options are
documented in Passes.td.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list