diff options
author | Eric Gullufsen <ericgullufsen@gmail.com> | 2023-04-04 15:33:37 -0400 |
---|---|---|
committer | Eric Gullufsen <ericgullufsen@gmail.com> | 2023-04-05 10:12:54 -0400 |
commit | b9bbe2f6037df707372de157e65cc06255673b19 (patch) | |
tree | ac49756a9d94424e620bd908b650cf9d9084af24 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | e63902128f8800b231d22aea88a9d3f38eecd172 (diff) | |
download | llvm-b9bbe2f6037df707372de157e65cc06255673b19.zip llvm-b9bbe2f6037df707372de157e65cc06255673b19.tar.gz llvm-b9bbe2f6037df707372de157e65cc06255673b19.tar.bz2 |
[InstCombine] Preserve nsw/nuw flags in canonicalization
canonicalizeLogicFirst reorders logic op / math op for suitable
constants, and this commit makes this function pass through
nsw/nuw flags on the Add.
Differential Revision: https://reviews.llvm.org/D147568
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions