aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@arm.com>2024-04-26 10:56:56 +0100
committerGitHub <noreply@github.com>2024-04-26 10:56:56 +0100
commit213ab9610ced9152f70f5b9777347c28e777a0ff (patch)
treeda35649269396a0a8f13336f4016d22977aa675a /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent46b66dfd31ed0206b4444b77612df42193fe5b42 (diff)
downloadllvm-213ab9610ced9152f70f5b9777347c28e777a0ff.zip
llvm-213ab9610ced9152f70f5b9777347c28e777a0ff.tar.gz
llvm-213ab9610ced9152f70f5b9777347c28e777a0ff.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions