diff options
author | Florian Hahn <flo@fhahn.com> | 2025-02-19 14:51:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-19 14:51:19 +0100 |
commit | 01d0793a69ad4c5c54815138ebe945b5cdce2aca (patch) | |
tree | 4b8f39bec4a12ab3ed85b510797e60f5be80431d /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 1ac0db44fdb4de5fa7ec637c297bd0fc824057e2 (diff) | |
download | llvm-01d0793a69ad4c5c54815138ebe945b5cdce2aca.zip llvm-01d0793a69ad4c5c54815138ebe945b5cdce2aca.tar.gz llvm-01d0793a69ad4c5c54815138ebe945b5cdce2aca.tar.bz2 |
[LAA] Make Ptr argument optional in isNoWrap. (#127410)
Update isNoWrap to make the IR Ptr argument optional. This allows using
isNoWrap when dealing with things like pointer-selects, where a select
is translated to multiple pointer SCEV expressions, but there is no IR
value that can be used. We don't try to retrieve pointer values for the
pointer SCEVs and using info from the IR would not be safe. For example,
we cannot use inbounds, because the pointer may never be accessed.
PR: https://github.com/llvm/llvm-project/pull/127410
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions