aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ProgramStack.cpp
diff options
context:
space:
mode:
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2025-04-15 09:04:24 -0500
committerGitHub <noreply@github.com>2025-04-15 07:04:24 -0700
commitbf3b3d012c6b6b4369ac76e467f7fc78ee5aaca8 (patch)
tree9a81eb0637f58ded2caeed0976fb23364b09e45c /llvm/lib/Support/ProgramStack.cpp
parent72560e7b0d3ab30da362eccc6a7586663690fab6 (diff)
downloadllvm-bf3b3d012c6b6b4369ac76e467f7fc78ee5aaca8.zip
llvm-bf3b3d012c6b6b4369ac76e467f7fc78ee5aaca8.tar.gz
llvm-bf3b3d012c6b6b4369ac76e467f7fc78ee5aaca8.tar.bz2
[mlir][GPU] Don't look into neighboring functions for barrier elimination (#135293)
If a `func.func` is nested in some other operation, the barrier eliminator's recursion into parents will examine the neighbors of each function. Therefore, don't recurse into the parent of an operation if that operation is IsolatedFromAbove, like a func.func is. Furthermore, define functions as a region that executes only once, since, within the context of this pass (which runs on functions) it is true.
Diffstat (limited to 'llvm/lib/Support/ProgramStack.cpp')
0 files changed, 0 insertions, 0 deletions