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: unassignedb...@nondot.org Reporter: mgr...@codeaurora.org CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs