[all-commits] [llvm/llvm-project] c350a1: [InstCombine] Simplifiy `sdiv -X, X` into `X == IN...
Z572 via All-commits
all-commits at lists.llvm.org
Wed Nov 15 07:30:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c350a1eaae2be108e44f93c2ccb331ec47872e56
https://github.com/llvm/llvm-project/commit/c350a1eaae2be108e44f93c2ccb331ec47872e56
Author: Z572 <zhengjunjie at iscas.ac.cn>
Date: 2023-11-15 (Wed, 15 Nov 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/div.ll
Log Message:
-----------
[InstCombine] Simplifiy `sdiv -X, X` into `X == INT_MIN ? 1 : -1` (#71768)
Alive2: https://alive2.llvm.org/ce/z/dHddwH
Fixes #69574
More information about the All-commits
mailing list