[llvm-bugs] [Bug 28721] New: SLSR pass takes too long on simple programs

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 26 12:27:27 PDT 2016


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

            Bug ID: 28721
           Summary: SLSR pass takes too long on simple programs
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: tstellar at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16810
  --> https://llvm.org/bugs/attachment.cgi?id=16810&action=edit
Reduced test case

Attached is an reduced test case which takes about ~9 seconds for the
straight-line scalar reduction (SLSR) pass on my very fast CPU.  I think this
is too long given that the test case only has around 60 instructions.

To reproduce:

opt -slsr -mtriple=amdgcn--amdhsa -mcpu=fiji slsr-reduced.ll

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160726/8648c4eb/attachment.html>


More information about the llvm-bugs mailing list