[all-commits] [llvm/llvm-project] 7949a2: [InstCombine] enhance icmp with sub folds
Allen via All-commits
all-commits at lists.llvm.org
Wed Mar 22 04:57:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7949a2a802f0791eaf7c6ecbdd6ed5daa2a278cf
https://github.com/llvm/llvm-project/commit/7949a2a802f0791eaf7c6ecbdd6ed5daa2a278cf
Author: Zhongyunde <zhongyunde at huawei.com>
Date: 2023-03-22 (Wed, 22 Mar 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-sub.ll
Log Message:
-----------
[InstCombine] enhance icmp with sub folds
The new IR with And removes a use of the input variable, which is better for analysis.
Fix https://github.com/llvm/llvm-project/issues/60818
Reviewed By: nikic, spatel
Differential Revision: https://reviews.llvm.org/D145846
More information about the All-commits
mailing list