[LLVMbugs] [Bug 18129] New: -slp-vectorizer crash

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 3 19:36:03 PST 2013


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

            Bug ID: 18129
           Summary: -slp-vectorizer crash
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: joerg at NetBSD.org, llvmbugs at cs.uiuc.edu,
                    nrotem at apple.com
    Classification: Unclassified

Created attachment 11656
  --> http://llvm.org/bugs/attachment.cgi?id=11656&action=edit
testcase

The attached testcase crashes with

$ ./build/bin/opt -S test2.ll -o test3.ll -slp-vectorizer
Instruction does not dominate all uses!
  %9 = fadd <2 x float> %6, %8
  %2 = extractelement <2 x float> %9, i32 1
Broken module found, compilation aborted!
0  opt                      0x000000010c6432a8
llvm::sys::PrintStackTrace(__sFILE*) + 40
1  opt                      0x000000010c6437a4 SignalHandler(int) + 564
2  libsystem_platform.dylib 0x00007fff8869f5aa _sigtramp + 26
3  libsystem_platform.dylib 0x0000000000002800 _sigtramp + 2006332016
4  opt                      0x000000010c643556 abort + 22
5  opt                      0x000000010c56aea4 (anonymous
namespace)::Verifier::abortIfBroken() + 564
6  opt                      0x000000010c56a8ed (anonymous
namespace)::Verifier::runOnFunction(llvm::Function&) + 1821
7  opt                      0x000000010c54827d
llvm::FPPassManager::runOnFunction(llvm::Function&) + 333
8  opt                      0x000000010c54850b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
9  opt                      0x000000010c548b3c
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1148
10 opt                      0x000000010b917f44 main + 7940
11 libdyld.dylib            0x00007fff9041a5fd start + 1
Stack dump:
0.    Program arguments: ./build/bin/opt -S test2.ll -o test3.ll
-slp-vectorizer 
1.    Running pass 'Function Pass Manager' on module 'test2.ll'.
2.    Running pass 'Module Verifier' on function '@fn1'

-- 
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/20131204/6b325f55/attachment.html>


More information about the llvm-bugs mailing list