Files
clang-p2996/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Yingwei Zheng 0e13ce770b [InstCombine] Handle mul in maintainNoSignedWrap (#123299)
Alive2: https://alive2.llvm.org/ce/z/Kgamks
Closes https://github.com/llvm/llvm-project/issues/123175.

For `@foo1`, the nsw flag is propagated because we first convert it into
`mul nsw nuw (shl nsw nuw X, 1), 3`.
2025-01-17 16:59:04 +08:00

218 KiB