diff options
author | Ian Wood <75152913+IanWood1@users.noreply.github.com> | 2024-10-31 07:47:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-31 07:47:48 -0700 |
commit | 1bc58a258e2edb6221009a26d0f0037eda6c7c47 (patch) | |
tree | 9d62925d79b6df4185501858cc8c4ab5ca0c395a /llvm/lib/Transforms/Utils/BuildLibCalls.cpp | |
parent | 41448c1d07f25e60c5014dd71d328596fcb5589e (diff) | |
download | llvm-1bc58a258e2edb6221009a26d0f0037eda6c7c47.zip llvm-1bc58a258e2edb6221009a26d0f0037eda6c7c47.tar.gz llvm-1bc58a258e2edb6221009a26d0f0037eda6c7c47.tar.bz2 |
Extend `getBackwardSlice` to track values captured from above (#113478)
This change modifies `getBackwardSlice` to track values captures by the
regions of each operation that it traverses. Ignoring values captured
from a parent region may lead to an incomplete program slice. However,
there seems to be logic that depends on not traversing captured values,
so this change preserves the default behavior by hiding this logic
behind the `omitUsesFromAbove` flag.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BuildLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions