[LLVMbugs] [Bug 17180] New: Use of Thumb instructions in non-Thumb mode
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Sep 10 00:44:41 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17180
Bug ID: 17180
Summary: Use of Thumb instructions in non-Thumb mode
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
Assignee: unassignedbugs at nondot.org
Reporter: sanxiyn at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
r189269 log message claims to fix "the Thumb pseudo tPICADD was used for both
ARM and Thumb mode functions, which is obviously wrong", but the commit
actually doesn't fix the bug. Opc = isThumb2() ? tPICADD : PICADD is
calculated, but not used at all.
Changing tPICADD to PICADD fixed my issue, but I am not sure of the proper fix.
Hopefully the proper fix is obvious to people familiar with the code.
I am sorry that I cannot provide the test case (reduced or otherwise) so that
you can reproduce the bug, but hopefully that also is obvious to people
familiar with the code.
--
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/20130910/978dca22/attachment.html>
More information about the llvm-bugs
mailing list