<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - ICE on trunk Clang, knl target, Assertion `L.isLCSSAForm(DT)' failed"
   href="https://llvm.org/bugs/show_bug.cgi?id=27997">27997</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ICE on trunk Clang, knl target,  Assertion `L.isLCSSAForm(DT)' failed
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>anton.mitrokhin@phystech.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16465" name="attach_16465" title="Reproducer">attachment 16465</a> <a href="attachment.cgi?id=16465&action=edit" title="Reproducer">[details]</a></span>
Reproducer

Reproducer:
<span class="quote">> clang++ -std=c++11 -O3 -fslp-vectorize-aggressive -march=knl -o out.o -c crash_1.cpp</span >

Output:
clang-3.9:
/export/users/amitrokh/llvm/llvm-trunk/lib/Transforms/Utils/LCSSA.cpp:255: bool
llvm::formLCSSA(llvm::Loop&, llvm::DominatorTree&, llvm::LoopInfo*,
llvm::ScalarEvolution*): Assertion `L.isLCSSAForm(DT)' failed.
#0 0x000000000114a6d5 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x114a6d5)
#1 0x0000000001148486 llvm::sys::RunSignalHandlers()
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x1148486)
#2 0x00000000011486b1 SignalHandler(int)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x11486b1)
#3 0x00007f38c8e1a100 __restore_rt (/lib64/libpthread.so.0+0xf100)
#4 0x00007f38c80485f7 __GI_raise (/lib64/libc.so.6+0x355f7)
#5 0x00007f38c8049ce8 __GI_abort (/lib64/libc.so.6+0x36ce8)
#6 0x00007f38c8041566 __assert_fail_base (/lib64/libc.so.6+0x2e566)
#7 0x00007f38c8041612 (/lib64/libc.so.6+0x2e612)
#8 0x0000000001193534
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x1193534)
#9 0x000000000119359f llvm::formLCSSARecursively(llvm::Loop&,
llvm::DominatorTree&, llvm::LoopInfo*, llvm::ScalarEvolution*)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x119359f)
#10 0x0000000001193758 (anonymous
namespace)::LCSSA::runOnFunction(llvm::Function&)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x1193758)
#11 0x0000000000dc46d3 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0xdc46d3)
#12 0x0000000000dc4a8b llvm::FPPassManager::runOnModule(llvm::Module&)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0xdc4a8b)
#13 0x0000000000dc4d9f llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0xdc4d9f)
#14 0x000000000129c938 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction,
llvm::raw_pwrite_stream*)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x129c938)
#15 0x00000000018f6636
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x18f6636)
#16 0x0000000001d04a6b clang::ParseAST(clang::Sema&, bool, bool)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x1d04a6b)
#17 0x00000000018f69eb clang::CodeGenAction::ExecuteAction()
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x18f69eb)
#18 0x00000000015c6aa6 clang::FrontendAction::Execute()
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x15c6aa6)
#19 0x00000000015a0c8e
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x15a0c8e)
#20 0x000000000165b3ec
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x165b3ec)
#21 0x00000000006f9d78 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x6f9d78)
#22 0x00000000006cdf0f main
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x6cdf0f)
#23 0x00007f38c8034b15 __libc_start_main (/lib64/libc.so.6+0x21b15)
#24 0x00000000006f5e05 _start
(/export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9+0x6f5e05)
Stack dump:
0.      Program arguments: /export/users/amitrokh/llvm/bin-trunk/bin/clang-3.9
-cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name
crash_1.cpp -mrelocation-model static -mthread-model posix -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array
-target-cpu knl -momit-leaf-frame-pointer -dwarf-column-info
-debugger-tuning=gdb -coverage-file
/export/users/amitrokh/forCreduce/untracked/clang_dominator/out.o -resource-dir
/export/users/amitrokh/llvm/bin-trunk/bin/../lib/clang/3.9.0 -internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/x86_64-redhat-linux
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/backward
-internal-isystem /usr/local/include -internal-isystem
/export/users/amitrokh/llvm/bin-trunk/bin/../lib/clang/3.9.0/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O3
-std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/export/users/amitrokh/forCreduce/untracked/clang_dominator -ferror-limit 19
-fmessage-length 237 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-vectorize-slp-aggressive -o out.o -x c++ crash_1.cpp
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'Function Pass Manager' on module 'crash_1.cpp'.
4.      Running pass 'Loop-Closed SSA Form Pass' on function '@_Z3fn1v'
clang-3.9: error: unable to execute command: Aborted
clang-3.9: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.9.0 (trunk 271379)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /export/users/amitrokh/llvm/bin-trunk/bin
clang-3.9: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.9: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.9: note: diagnostic msg: /tmp/crash_1-8fe28b.cpp
clang-3.9: note: diagnostic msg: /tmp/crash_1-8fe28b.sh
clang-3.9: note: diagnostic msg:

********************


<span class="quote">> clang -v</span >
clang version 3.9.0 (trunk 271379)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /export/users/amitrokh/llvm/bin-trunk/bin
Found candidate GCC installation: /usr/lib/gcc/i686-redhat-linux/4.8.2
Found candidate GCC installation: /usr/lib/gcc/i686-redhat-linux/4.8.5
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>