[LLVMbugs] [Bug 8811] New: Some ARM instructions (ADDri, SUBri, t2ANDri, t2SUBri, others?) are generated with a def for CPSR
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Dec 18 16:07:31 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8811
Summary: Some ARM instructions (ADDri, SUBri, t2ANDri, t2SUBri,
others?) are generated with a def for CPSR
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: zwarich at apple.com
CC: llvmbugs at cs.uiuc.edu
On some tests in CodeGen/ARM, instructions are generated with defs for CPSR.
For example, running the verifier after LiveIntervals gives an error on this
example:
llc < /Volumes/Data/llvm/test/CodeGen/ARM/2007-05-23-BadPreIndexedStore.ll
-march=arm
*** Bad machine code: Explicit operand marked as def ***
- function: shape_path_alloc
- basic block: bb140 0x10284b348 (BB#4) [136L;232L)
- instruction: 180L %reg16386<def> = ADDri %reg16385<kill>, 2, pred:14,
pred:%reg0, opt:%CPSR<def>; GPR:%reg16386,16385
- operand 5: %CPSR<def>
LLVM ERROR: Found 1 machine code errors.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list