diff options
author | Nikita Popov <npopov@redhat.com> | 2024-02-02 10:52:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:52:05 +0100 |
commit | 5b8e1a6ebf11b6e93bcc96a0d009febe4bb3d7bc (patch) | |
tree | 9b5db67d9753c3e0557db6e425f46df9053ca667 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 42ec9934e1079742e0b5d839e420bc3f746fc73b (diff) | |
download | llvm-5b8e1a6ebf11b6e93bcc96a0d009febe4bb3d7bc.zip llvm-5b8e1a6ebf11b6e93bcc96a0d009febe4bb3d7bc.tar.gz llvm-5b8e1a6ebf11b6e93bcc96a0d009febe4bb3d7bc.tar.bz2 |
[SCEVExpander] Do not reuse disjoint or (#80281)
SCEV treats "or disjoint" the same as "add nsw nuw". However, when
expanding, we cannot generally replace an add SCEV node with an "or
disjoint" instruction. Just dropping the poison flag is insufficient in
this case, we would have to actually convert the or into an add.
This is a partial fix for #79861.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions