[llvm] [InstCombine] Add Missed Optimization (PR #141962)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 15 06:57:18 PDT 2025
dtcxzyw wrote:
As I commented in https://github.com/llvm/llvm-project/issues/141479#issuecomment-2911154459, both LHS and RHS are uadd-overflow check idiom. I am not sure if it is profitable to canonicalize them into `extractvalue uadd.overflow(x, y), 1`. If not, we can add a helper function to recognize such overflow-checking patterns. cc @nikic @AZero13
https://github.com/llvm/llvm-project/pull/141962
More information about the llvm-commits
mailing list