[llvm-bugs] [Bug 43024] New: Compile-time regression after r368307

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 16 15:52:45 PDT 2019


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

            Bug ID: 43024
           Summary: Compile-time regression after r368307
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: rupprecht at google.com
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, spatel+llvm at rotateright.com

The following ll file takes ~0.1 seconds before r368307, and >60s after it.
(It's distilled from a C++ file that used to take 5-10 seconds, and now times
out after at least 3 hours).

Repro is just:
$ llc repro.ll
$ cat repro.ll
source_filename = "repro.cc"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-grtev4-linux-gnu"

define dso_local void @foo() unnamed_addr #0 align 32 {
  store <4 x float> <float 0x7FF8000000000000, float 0x7FF8000000000000, float
0x0, float 0x0>, <4 x float>* undef, align 16
  %1 = load <4 x float>, <4 x float>* undef, align 16
  %2 = fmul <4 x float> %1, <float 0x0, float 0x0, float 0x0, float 0x0>
  %3 = shufflevector <4 x float> %2, <4 x float> undef, <4 x i32> <i32 1, i32
undef, i32 undef, i32 undef>
  %4 = fadd <4 x float> %2, %3
  %5 = fadd <4 x float> zeroinitializer, %4
  %6 = shufflevector <4 x float> %2, <4 x float> undef, <4 x i32> <i32 3, i32
undef, i32 undef, i32 undef>
  %7 = fadd <4 x float> %6, %5
  %8 = extractelement <4 x float> %7, i32 0
  store float %8, float* undef, align 8
  br label %10

9:                                                ; preds = %10
  ret void

10:                                               ; preds = %10, %0
  br i1 undef, label %9, label %10
}

attributes #0 = {
"target-features"="+aes,+cx8,+fxsr,+mmx,+pclmul,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87"
}

-- 
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/20190816/0dd3d31c/attachment-0001.html>


More information about the llvm-bugs mailing list