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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to