[llvm-bugs] [Bug 26655] New: [Thumb2] Incorrect CPSR<kill> liveness for bundled instructions
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Feb 17 13:00:09 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26655
Bug ID: 26655
Summary: [Thumb2] Incorrect CPSR<kill> liveness for bundled
instructions
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: llc
Assignee: unassignedbugs at nondot.org
Reporter: mgrang at codeaurora.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
For Thumb2 instructions which have the CPSR<kill marker> and which are part of
an instruction bundle, the CPSR liveness is always false.
But the function UpdateCPSRUse does not recognize this and expects the liveness
to be true and hence asserts:
clang-3.8:
/prj/llvm-arm/home/nightly/src/qc-38/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp:1381:
bool UpdateCPSRUse(llvm::MachineInstr &, bool): Assertion `LiveCPSR && "CPSR
liveness tracking is wrong!"' failed.
We need to fix this by skipping the assert for such instructions.
--
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/20160217/8f6b6f94/attachment.html>
More information about the llvm-bugs
mailing list