Add support for STRICT_FSETCC promotion
authorThomas Preud'homme <thomasp@graphcore.ai>
Thu, 19 Nov 2020 23:33:23 +0000 (23:33 +0000)
committerThomas Preud'homme <thomasp@graphcore.ai>
Tue, 24 Nov 2020 16:53:49 +0000 (16:53 +0000)
commit9c8af93c93d0eec980cd58c194ad964e14d245ac
tree7defdbac67b5e86f3c3d17e98019d95430d571a2
parent1a036e9cc82a7f6d6f4675d631fa5eecd8748784
Add support for STRICT_FSETCC promotion

Add missing handling of STRICT_FSETCC promotion. This prevents assert
failure in llvm::TargetLoweringBase::getTypeToPromoteTo().

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D91962
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp