Simplify (icmp nsw|nuw (sub X, C2), C) to true|false.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D115459
[InstSimplify] Fold compare of no-wrap subtract Needs ReviewPublic Authored by hasyimibhar on Dec 9 2021, 11:45 AM.
Revision Contents
Diff 393242 llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/icmp.ll
|