aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-07-09 11:01:11 -0700
committerCraig Topper <craig.topper@intel.com>2020-07-09 11:01:12 -0700
commit122b0640fc97202bacb630744dfc6da58f11af42 (patch)
tree37871bc96e5b99aa7f93b38f39742c41c1db2936 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentf5f58f1f733b880decfb8f12ebba6126da818496 (diff)
downloadllvm-122b0640fc97202bacb630744dfc6da58f11af42.zip
llvm-122b0640fc97202bacb630744dfc6da58f11af42.tar.gz
llvm-122b0640fc97202bacb630744dfc6da58f11af42.tar.bz2
[InstSimplify] Don't fold vectors of partial undef in SimplifySelectInst if the non-undef element value might produce poison
We can't fold to the non-undef value unless we know it isn't poison. So check each element with isGuaranteedNotToBeUndefOrPoison. This currently rules out all constant expressions. Differential Revision: https://reviews.llvm.org/D83442
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions