Currently when expanding a SETCC node into a SELECT_CC, LLVM uses
an incorrect type for determining BooleanContent of the result. This
patch fixes the issue.
Fixes PR36079.
Differential D43282
[LegalizeDAG] Fix legalization of SETCC miyuki on Feb 14 2018, 3:22 AM. Authored by
Details Currently when expanding a SETCC node into a SELECT_CC, LLVM uses Fixes PR36079.
Diff Detail Event Timeline
Comment Actions LGTM
|
Shouldn't this be TLI.getBooleanContents(VT)? None of the operands of a SETCC are boolean.