[LLVMbugs] [Bug 10166] New: Over-conservative handling of asm volatile

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 21 10:07:04 PDT 2011


           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: unassignedbugs at nondot.org
        ReportedBy: gohman at apple.com
                CC: llvmbugs at cs.uiuc.edu

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.

More information about the llvm-bugs mailing list