[all-commits] [llvm/llvm-project] 90d30f: [InstCombine] Add frozen for the condition value o...
Allen via All-commits
all-commits at lists.llvm.org
Thu Apr 27 06:36:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 90d30fde12d80b633ce157b5f070a33e96018bbc
https://github.com/llvm/llvm-project/commit/90d30fde12d80b633ce157b5f070a33e96018bbc
Author: Zhongyunde <zhongyunde at huawei.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/rem.ll
M llvm/test/Transforms/InstCombine/shift.ll
Log Message:
-----------
[InstCombine] Add frozen for the condition value of SelectInst
If the condition value of SelectInst may be a poison or undef value,
infer constant range at SelectInst use is incorrect, similar to D143883.
Fixes https://github.com/llvm/llvm-project/issues/62401
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D149339
More information about the All-commits
mailing list