[llvm-bugs] [Bug 30742] New: loop vectorizer causes dominance violation

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 19 16:13:25 PDT 2016


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

            Bug ID: 30742
           Summary: loop vectorizer causes dominance violation
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eric.schweitz at pgroup.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17462
  --> https://llvm.org/bugs/attachment.cgi?id=17462&action=edit
-loop-vectorize bug

The attached program shows a failure in opt's loop vectorizer pass. I believe
this failure has been present for several releases, and I have replicated it
with trunk, 3.9, etc.

% opt bug.bc -verify -disable-output
% opt bug.bc -loop-vectorize -disable-output
Instruction does not dominate all uses!
  %49 = select i1 %48, i32 1, i32 %47
  %43 = add i32 %49, -7
LLVM ERROR: Broken function found, compilation aborted!

-- 
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/20161019/0f8e272c/attachment.html>


More information about the llvm-bugs mailing list