[llvm-dev] [PowerPC] Recent branch too far breakage

Richard Pennington via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 7 05:29:25 PDT 2016

I'm using a recent revision of TOT (280704) to build clang/LLVM for 
PowerPC64 little endian. I'm getting an assembler error when building 

The error is:

/tmp/PPCInstPrinter-84c835.s: Assembler messages:
/tmp/PPCInstPrinter-84c835.s:7671: Error: operand out of range 
(0x0000000000008004 is not between 0xffffffffffff8000 and 

The offending line is the bne branch in this snippet:

         ld 3, 16(29)
         ld 4, 24(29)
         sub      4, 4, 3
         rldicl 4, 4, 60, 4
         cmplwi 0, 4, 3
         bne      0, .LBB24_2630

Could this be because of a recent change in the PowerPC code generator 
or just because PPCInstPrinter.cpp changed a bit and exposed a 
pre-existing bug?


More information about the llvm-dev mailing list