[LLVMbugs] [Bug 8559] New: clang -arch armv6 can't load immediates into registers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Nov 6 00:38:39 PDT 2010


           Summary: clang -arch armv6 can't load immediates into registers
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rjmccall at apple.com
                CC: llvmbugs at cs.uiuc.edu

daysthatwere:clang rjmccall$ clang -v
clang version 2.9 (trunk 118329)
Target: x86_64-apple-darwin10
Thread model: posix
daysthatwere:clang rjmccall$ cat /tmp/red.m
@interface NSObject
+ (id) alloc;

void bar(void);

void foo(id i) {
  @synchronized (i) {

int main() {
  @try {
    foo([NSObject alloc]);
  } @catch (id e) {
daysthatwere:clang rjmccall$ clang -arch armv6 /tmp/red.m
processor does not support `movw r1,#0'
processor does not support `movw r0,#0'
clang: error: assembler command failed with exit code 1 (use -v to see
daysthatwere:clang rjmccall$

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