[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


http://llvm.org/bugs/show_bug.cgi?id=8559

           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;
@end

void bar(void);

void foo(id i) {
  @synchronized (i) {
    bar();
  }
}

int main() {
  @try {
    foo([NSObject alloc]);
  } @catch (id e) {
  }
}
daysthatwere:clang rjmccall$ clang -arch armv6 /tmp/red.m
/var/folders/s9/s96FsWmjFfOmejEGjQKJMU+++TI/-Tmp-/cc-evXTDd.s:34:selected
processor does not support `movw r1,#0'
/var/folders/s9/s96FsWmjFfOmejEGjQKJMU+++TI/-Tmp-/cc-evXTDd.s:200:selected
processor does not support `movw r0,#0'
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)
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