HomePhabricator

Merging r342884:

Description

Merging r342884:


r342884 | petarj | 2018-09-24 07:14:19 -0700 (Mon, 24 Sep 2018) | 12 lines

[Mips][FastISel] Fix selectBranch on icmp i1

The r337288 tried to fix result of icmp i1 when its input is not sanitized
by falling back to DagISel. While it now produces the correct result for
bit 0, the other bits can still hold arbitrary value which is not supported
by MipsFastISel branch lowering. This patch fixes the issue by falling back
to DagISel in this case.

Patch by Dragan Mladjenovic.

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


Details

Committed
tstellarNov 12 2018, 9:58 PM
Differential Revision
D52045: [Mips][FastISel] Fix selectBranch on icmp i1
Parents
rL346740: [FileCheck] fixing docs buildbot - use proper code-block type
Branches
Unknown
Tags
Unknown