aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-04-05 14:56:21 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-04-05 14:56:21 +0000
commit17586cda4adda536af2631ff83dcb49d2dceaa2f (patch)
tree691202d0aef81a6dd78eaaefa5faf1cb6afc57cb /llvm/lib/CodeGen/StackProtector.cpp
parent84f2271acd818e50c598fef7ce9586e7ee0ac553 (diff)
downloadllvm-17586cda4adda536af2631ff83dcb49d2dceaa2f.zip
llvm-17586cda4adda536af2631ff83dcb49d2dceaa2f.tar.gz
llvm-17586cda4adda536af2631ff83dcb49d2dceaa2f.tar.bz2
[SelectionDAG] Add fcmp UNDEF handling to SelectionDAG::FoldSetCC
Second half of PR40800, this patch adds DAG undef handling to fcmp instructions to match the behavior in llvm::ConstantFoldCompareInstruction, this permits constant folding of vector comparisons where some elements had been reduced to UNDEF (by SimplifyDemandedVectorElts etc.). This involves a lot of tweaking to reduced tests as bugpoint loves to reduce fcmp arguments to undef........ Differential Revision: https://reviews.llvm.org/D60006 llvm-svn: 357765
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions