• Sergei Trofimovich's avatar
    powerpc32: fix 64-bit comparison (#16465) · 973077ac
    Sergei Trofimovich authored
    
    
    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>
    973077ac
CodeGen.hs 99.8 KB