[all-commits] [llvm/llvm-project] 1f84e7: [InstCombine] Fold (X << Z) / (X * Y) -> (1 << Z) / Y
ZCBing via All-commits
all-commits at lists.llvm.org
Thu Dec 29 01:33:48 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1f84e72b7ba0a563e4abf2320997887bf8ae3f7c
https://github.com/llvm/llvm-project/commit/1f84e72b7ba0a563e4abf2320997887bf8ae3f7c
Author: Chenbing Zheng <Chenbing.Zheng at streamcomputing.com>
Date: 2022-12-29 (Thu, 29 Dec 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/div-shift.ll
Log Message:
-----------
[InstCombine] Fold (X << Z) / (X * Y) -> (1 << Z) / Y
Alive2: https://alive2.llvm.org/ce/z/CBJLeP
More information about the All-commits
mailing list