[LLVMbugs] [Bug 15142] New: incorrect branch instruction selection
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Feb 1 18:21:05 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=15142
Bug #: 15142
Summary: incorrect branch instruction selection
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: PowerPC
AssignedTo: unassignedbugs at nondot.org
ReportedBy: compnerd at compnerd.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9958
--> http://llvm.org/bugs/attachment.cgi?id=9958
h264.i
bdz has a range of -0x8000 to 0x7fff. However, it is being emitted for a jump
to 0x95bc. The attached preprocessed output of h264.c is able to reproduce the
problem.
$ /home/compnerd/sandbox/llvm/build/Debug+Asserts/bin/clang -w -target
powerpc-unknown-linux-gnu -fPIC -g -O3 -S h264.i
$
/home/compnerd/sandbox/toolchain/image/usr/i686-pc-linux-gnu/bin/powerpc-unknown-linux-gnu-as
h264.s
h264.s: Assembler messages:
h264.s:6318: Error: operand out of range (0x000095bc is not between 0xffff8000
and 0x00007ffc)
Seems like PPCBSel is not correctly selecting the jump operation.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list