mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-18 23:56:05 +00:00

We can perform the following: (add (zext (add nuw X, C1)), C2) -> (zext (add nuw X, C1+C2)) This is only possible if C2 is negative and C2 is greater than or equal to negative C1. llvm-svn: 290927