https://llvm.org/bugs/show_bug.cgi?id=30772

            Bug ID: 30772
           Summary: Inefficient codegen
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedb...@nondot.org
          Reporter: rafael.espind...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

In the attached testcase we produce

        movq    %rax, %rcx
        shlq    $6, %rcx
        prefetcht0      (%rdi,%rcx)
        movq    %rax, %rcx
        shlq    $4, %rcx

We could produce

        movq    %rax, %rcx
        shlq    $4, %rcx
        prefetcht0      (%rdi,%rcx, 4)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to