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

           Summary: Over-conservative handling of asm volatile
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


GCC hoists the load of *n out of this loop, LLVM doesn't:

void foo(double *p, long *n) {
  long i;
  for (i=0;i<*n;++i) {
    asm volatile("#hello");
  }
}

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to