XChy wrote: @dtcxzyw , there is the reduced example for your report: https://alive2.llvm.org/ce/z/Kf9p_C Pipeline: https://godbolt.org/z/hba46abEq CVP folds `%cmp5` to `false`, and such specific constant impacts on InstCombine. https://github.com/llvm/llvm-project/pull/73767