Skip to content
  • Sergei Trofimovich's avatar
    powerpc32: fix 64-bit comparison (#16465) · 7ed5db87
    Sergei Trofimovich authored and Ben Gamari's avatar Ben Gamari committed
    
    
    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: default avatarSergei Trofimovich <slyfox@gentoo.org>
    (cherry picked from commit 973077ac)
    7ed5db87