[LLVMbugs] [Bug 21443] New: [PPC64] Wrong register generated for inline assembler
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Nov 1 04:58:15 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=21443
Bug ID: 21443
Summary: [PPC64] Wrong register generated for inline assembler
Product: libraries
Version: trunk
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: PowerPC
Assignee: unassignedbugs at nondot.org
Reporter: kai at redstar.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 13270
--> http://llvm.org/bugs/attachment.cgi?id=13270&action=edit
.ll file demonstrating the bug
The attached file ppc_inline.ll works fine if compiled with -O0 but not with a
higher optimization level. Root cause is that a std 23, 0(0) is generated which
causes a segmentation fault.
The original source is part of the D runtime library, see here:
https://github.com/ldc-developers/druntime/blob/ldc/src/core/thread.d#L2148
The purpose of the code is to store all nonvolatile GPRs on the stack to enable
the garbage collector to scan the register values.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141101/4597e9ea/attachment.html>
More information about the llvm-bugs
mailing list