[LLVMbugs] [Bug 17372] New: Emitting PLD for stack data on ARM Thumb2
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 25 14:36:57 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17372
Bug ID: 17372
Summary: Emitting PLD for stack data on ARM Thumb2
Product: new-bugs
Version: trunk
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: weimingz at codeaurora.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 11281
--> http://llvm.org/bugs/attachment.cgi?id=11281&action=edit
test case
Currently, LLVM does not handle t2PLDi12, t2PLDi8 and
t2PLDs, so an opcode of 0 is returned, which causes compiler crash in
debug build or missing PLD in release build.
For example, for the given test case:
./Debug+Asserts/bin/llc -march=thumb -mattr=+v7 <
/prj/llvm-arm/home/weimingz/llvm-src/community-tip/prefetch.ll
llc:
/local/scratch/llvm-build/community-tip/lib/Target/ARM/InstPrinter/../ARMGenAsmWriter.inc:6119:
void llvm::ARMInstPrinter::printInstruction(const llvm::MCInst*,
llvm::raw_ostream&): Assertion `Bits != 0 && "Cannot print this instruction."'
failed.
0 llc 0x00000000011d2177 llvm::sys::PrintStackTrace(_IO_FILE*) +
38
1 llc 0x00000000011d23f4
2 llc 0x00000000011d1e2a
3 libpthread.so.0 0x00007f393a3088f0
4 libc.so.6 0x00007f39391aca75 gsignal + 53
5 libc.so.6 0x00007f39391b05c0 abort + 384
6 libc.so.6 0x00007f39391a5941 __assert_fail + 241
--
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/20130925/d83eec93/attachment.html>
More information about the llvm-bugs
mailing list