diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2023-12-16 17:58:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-16 17:58:57 +0800 |
commit | c59ea32f82128f550b471ed96b7ac093ff448c60 (patch) | |
tree | df073533a0b578e79559dd132e7b6a3dadcf5cdf /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | 4faeb7dbe9a4d35ea3556a319a814fe7c5d6c27c (diff) | |
download | llvm-c59ea32f82128f550b471ed96b7ac093ff448c60.zip llvm-c59ea32f82128f550b471ed96b7ac093ff448c60.tar.gz llvm-c59ea32f82128f550b471ed96b7ac093ff448c60.tar.bz2 |
[InstCombine] Canonicalize `icmp pred (X +/- C1), C2` into `icmp pred X, C2 -/+ C1` with nowrap flag implied by with.overflow intrinsic (#75511)
This patch tries to canonicalize the pattern `Overflow | icmp pred Res,
C2` into `Overflow | icmp pred X, C2 +/- C1`, where `Overflow` and `Res`
are return values of `xxx.with.overflow X, C1`.
Alive2: https://alive2.llvm.org/ce/z/PhR_3S
Fixes #75360.
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions