HomePhabricator

[Legalizer] Don't throw away false low half when expanding GT/LT SETCC

Description

[Legalizer] Don't throw away false low half when expanding GT/LT SETCC

When expanding a SETCC for which the low half is known to evaluate to false,
we can only throw it away for LT/GT comparisons, not LE/GE.

This fixes PR29170.

Differential Revision: https://reviews.llvm.org/D24151

Details

Committed
mkuperSep 1 2016, 4:02 PM
Differential Revision
D24151: [Legalizer] Don't throw away false low half for GT/LT SETCC
Parents
rL280423: Add comments.
Branches
Unknown
Tags
Unknown