[llvm-bugs] [Bug 49898] New: Infinite loop in SLP vectorizer after 99203f2004d031f2ef22f01e3c569d2775de1836

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 8 10:10:15 PDT 2021


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

            Bug ID: 49898
           Summary: Infinite loop in SLP vectorizer after
                    99203f2004d031f2ef22f01e3c569d2775de1836
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: benny.kra at gmail.com
                CC: a.bataev at hotmail.com, llvm-bugs at lists.llvm.org

$ cat t.ll
define void @fusion_1506(i8* %temp_buf1) local_unnamed_addr {
entry:
  %0 = getelementptr inbounds i8, i8* %temp_buf1, i64 5621415936
  %1 = getelementptr inbounds i8, i8* %temp_buf1, i64 7278166016
  %2 = getelementptr inbounds i8, i8* %temp_buf1, i64 5097127936
  %3 = bitcast i8* %2 to float*
  %4 = bitcast i8* %1 to float*
  %5 = getelementptr inbounds float, float* %4, i64 undef
  store float undef, float* %5, align 16
  %6 = bitcast i8* %0 to float*
  %7 = getelementptr inbounds float, float* %6, i64 undef
  store float undef, float* %7, align 16
  %8 = getelementptr inbounds float, float* %6, i64 undef
  store float undef, float* %8, align 4
  %9 = getelementptr inbounds float, float* %3, i64 undef
  store float undef, float* %9, align 4
  ret void
}

$ opt t.ll -slp-vectorizer -S
<hangs>

This worked before
https://github.com/llvm/llvm-project/commit/99203f2004d031f2ef22f01e3c569d2775de1836

-- 
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/20210408/befe9d27/attachment.html>


More information about the llvm-bugs mailing list