diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-03-25 18:51:57 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-03-25 18:51:57 +0000 |
commit | 167af1bafbf0a2a9149f03315f7a30a8425db408 (patch) | |
tree | d3c9a6b64f0527eff2c7e21e4a95fe9218b1baa3 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 3bd4b5a925bd5bd5a5498d8d84596ec099e9c198 (diff) | |
download | bcm5719-llvm-167af1bafbf0a2a9149f03315f7a30a8425db408.tar.gz bcm5719-llvm-167af1bafbf0a2a9149f03315f7a30a8425db408.zip |
[SelectionDAG] Add icmp UNDEF handling to SelectionDAG::FoldSetCC
First half of PR40800, this patch adds DAG undef handling to icmp instructions to match the behaviour in llvm::ConstantFoldCompareInstruction and SimplifyICmpInst, this permits constant folding of vector comparisons where some elements had been reduced to UNDEF (by SimplifyDemandedVectorElts etc.).
This involved a lot of tweaking to reduced tests as bugpoint loves to reduce icmp arguments to undef........
Differential Revision: https://reviews.llvm.org/D59363
llvm-svn: 356938
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions