[PATCH] D93065: [InstCombine] Disable optimizations of select instructions that causes propagation of poison values
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 11 00:30:49 PST 2020
aqjune added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp:2626
+ FalseVal->getType()->isIntegerTy() &&
+ FalseVal->getType()->getIntegerBitWidth() != 1) {
// select C, 1, 0 -> zext C to int
----------------
Is this code still reachable when TrueVal/FalseVal are vectors of i1?
Repository:
rZORG LLVM Github Zorg
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93065/new/
https://reviews.llvm.org/D93065
More information about the llvm-commits
mailing list