[all-commits] [llvm/llvm-project] 0e13ce: [InstCombine] Handle mul in `maintainNoSignedWrap`...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Fri Jan 17 00:59:26 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e13ce770bfbee7cfbc8086a038a950fe12c03d5
https://github.com/llvm/llvm-project/commit/0e13ce770bfbee7cfbc8086a038a950fe12c03d5
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/nsw.ll
Log Message:
-----------
[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`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list