diff options
author | Pavel Skripkin <paskripkin@gmail.com> | 2024-09-24 17:48:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 16:48:29 +0200 |
commit | b1e4656e8ee3289dc5f3139fc8eb33152f96bfe6 (patch) | |
tree | 6fb2b1d63aa1c37a06c6552bb2a99ddb2f4d761d /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 216e1b90c4a988880b772b8d152769f7d0cac0c6 (diff) | |
download | llvm-b1e4656e8ee3289dc5f3139fc8eb33152f96bfe6.zip llvm-b1e4656e8ee3289dc5f3139fc8eb33152f96bfe6.tar.gz llvm-b1e4656e8ee3289dc5f3139fc8eb33152f96bfe6.tar.bz2 |
[NFC][analyzer] Make `invalidateRegions` accept `Stmt` instead of `Expr` (#109792)
As was reported
[here](https://github.com/llvm/llvm-project/pull/103714#pullrequestreview-2238037812),
`invalidateRegions` should accept `Stmt` instead of `Expr`. This
conversion is possible, since `Expr` was anyway converted back to `Stmt`
later.
This refactoring is needed to fix another FP related to use of inline
assembly. The fix would be to change `State->bindLoc` to
`state->invalidateRegions` inside inline assembly visitor, since
`bindLoc` only binds to offset 0, which is not really correct semantics
in case of inline assembly.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions