1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
Simon Pilgrim 51fa2dddea [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
2019-03-25 18:51:57 +00:00
..
2017-06-01 14:24:31 +00:00
2016-10-26 18:49:16 +00:00
2018-08-02 01:54:12 +00:00
2016-10-18 20:41:30 +00:00
2018-02-26 23:19:25 +00:00
2017-05-23 06:08:37 +00:00
2018-07-11 10:39:50 +00:00
2018-02-26 23:19:25 +00:00
2018-02-16 20:00:57 +00:00