powerpc32: fix 64-bit comparison (#16465)

Authored by trofi on Mar 20 2019, 5:40 PM.

Description

powerpc32: fix 64-bit comparison (Trac #16465)

On powerpc32 64-bit comparison code generated dangling
target labels. This caused ghc build failure as:

$ ./configure --target=powerpc-unknown-linux-gnu && make
...
SCCs aren't in reverse dependent order
bad blockId n3U

This happened because condIntCode' in PPC codegen generated
label name but did not place the label into cmp_lo code block.

The change adds the cmp_lo label into the case of negative
comparison.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
(cherry picked from commit 973077ac63c79988f2d5f25d13b60dce82f9e8dd)

Details

Committed
bgamariJun 24 2019, 5:35 PM
Parents
rGHC3d0fa737b801: llvm-targets: Add x86_64 android layout
Branches
Unknown
Tags
Unknown