[LLVMbugs] [Bug 15794] New: Loop Vectorizer: Crashes with the use of llvm.loop.parallel metadata

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 19 08:02:12 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15794

            Bug ID: 15794
           Summary: Loop Vectorizer: Crashes with the use of
                    llvm.loop.parallel metadata
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: muhammad.t.ahmad at intel.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I have C code[1] that I compile to the LLVM IR[2] and manually add the
llvm.loop.parallel and llvm.mem.parallel_loop_access metadata and run `opt` on
like so:

$ opt test.ll -o - -loop-vectorize -force-vector-unroll=1 -force-vector-width=4
-dce -instcombine -S -debug

Running the above fails with the following error. I am not sure what is causing
this.
http://sprunge.us/AWRM

[1] C Code:
http://sprunge.us/jIOU?c

[2] LLVM IR:
http://sprunge.us/aTCI?llvm


(I am using sprunge for this because it's a lot of code and not very readable
unless highlighted. If required, I can attach/paste the code here.)

-- 
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/20130419/d775f1a9/attachment.html>


More information about the llvm-bugs mailing list