dtcxzyw wrote: @arsenm This line should be updated as well: https://github.com/llvm/llvm-project/blob/d05c07d64af734c0e72cf3c95b7bc926824bb4c1/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp#L2264 https://github.com/llvm/llvm-project/pull/174072