[all-commits] [llvm/llvm-project] d30cf7: [InstCombine] complete fold extractvalue (any_mul_...
ZCBing via All-commits
all-commits at lists.llvm.org
Thu Sep 1 20:01:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d30cf77cb1e4f743c52adbd52bf4f079794eded3
https://github.com/llvm/llvm-project/commit/d30cf77cb1e4f743c52adbd52bf4f079794eded3
Author: Chenbing Zheng <Chenbing.Zheng at streamcomputing.com>
Date: 2022-09-02 (Fri, 02 Sep 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/with_overflow.ll
Log Message:
-----------
[InstCombine] complete fold extractvalue (any_mul_with_overflow X, -1)
When we do extractvalue (any_mul_with_overflow X, -1) --> (-X and icmp),
which left partly failed to match vector constant with poison element.
This patch try to fix it.
Alive2: https://alive2.llvm.org/ce/z/2rGp_3
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D132996
More information about the All-commits
mailing list