[llvm-bugs] [Bug 29559] New: Regression r279649: [LV] Unify vector and scalar maps

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 29 09:27:56 PDT 2016


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

            Bug ID: 29559
           Summary: Regression r279649: [LV] Unify vector and scalar maps
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Loop Optimizer
          Assignee: mssimpso at codeaurora.org
          Reporter: mcrosier at codeaurora.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

AFAICT, r279649 introduced a compile-time failure for the following test case:

target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
target triple = "arm64"

define hidden void @foo() local_unnamed_addr {
entry:
  br label %for.body.i

for.body.i:                                       ; preds = %for.body.i, %entry
  %indvars.iv.i = phi i64 [ 0, %entry ], [ %indvars.iv.next.i, %for.body.i ]
  %v_prev.017.i = phi float* [ undef, %entry ], [ %v_curr.020.i, %for.body.i ]
  %v_curr.020.i = getelementptr inbounds [3 x float], [3 x float]* undef, i64
0, i64 0
  %indvars.iv.next.i = add nuw nsw i64 %indvars.iv.i, 1
  %exitcond.i = icmp eq i64 %indvars.iv.next.i, undef
  br i1 %exitcond.i, label %for.end.i.loopexit, label %for.body.i

for.end.i.loopexit:                               ; preds = %for.body.i
  ret void
}


Reproduce with: opt test.ll -loop-vectorize

-- 
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/20160829/5c65b77d/attachment.html>


More information about the llvm-bugs mailing list