<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - After 7ab05d9a60b, Assertion failed: (&*It == &StartMI && "No new def between StartMI and EndMI."), function fixupIsDeadOrKill, file llvm/lib/Target/PowerPC/PPCInstrInfo.cpp, line 2715."
   href="https://bugs.llvm.org/show_bug.cgi?id=47041">47041</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>After 7ab05d9a60b, Assertion failed: (&*It == &StartMI && "No new def between StartMI and EndMI."), function fixupIsDeadOrKill, file llvm/lib/Target/PowerPC/PPCInstrInfo.cpp, line 2715.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>11.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dimitry@andric.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After <a href="https://reviews.llvm.org/rG7ab05d9a60b">https://reviews.llvm.org/rG7ab05d9a60b</a> / <a href="https://reviews.llvm.org/D81723">https://reviews.llvm.org/D81723</a>
("[PowerPC] fold addi's imm operand to its imm form consumer's displacement"),
building clang/lib/Serialization/ASTReader.cpp for target
powerpc-unknown-freebsd13.0 crashes with:

ssertion failed: (&*It == &StartMI && "No new def between StartMI and EndMI."),
function fixupIsDeadOrKill, file
/home/dim/src/llvm/llvm-project/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp, line
2715.
PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments:
/home/dim/ins/llvmorg-11-init-18635-g7ab05d9a60b/bin/clang -cc1 -triple
powerpc-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name
ASTReader.cpp -mrelocation-model static -mframe-pointer=none -fno-rounding-math
-mconstructor-aliases -munwind-tables -target-cpu ppc -target-feature
+secure-plt -mfloat-abi hard -fno-split-dwarf-inlining
-debug-info-kind=line-tables-only -dwarf-version=4 -debugger-tuning=gdb
-ffunction-sections -fdata-sections -sys-header-deps -D CLANG_ENABLE_ARCMT -D
CLANG_ENABLE_STATIC_ANALYZER -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS
-D __STDC_LIMIT_MACROS -D HAVE_VCS_VERSION_INC -D
LLVM_DEFAULT_TARGET_TRIPLE="powerpc-unknown-freebsd13.0" -D
LLVM_HOST_TRIPLE="powerpc-unknown-freebsd13.0" -D DEFAULT_SYSROOT="" -D
LLVM_TARGET_ENABLE_AARCH64 -D LLVM_TARGET_ENABLE_ARM -D LLVM_TARGET_ENABLE_MIPS
-D LLVM_TARGET_ENABLE_POWERPC -D LLVM_TARGET_ENABLE_RISCV -D
LLVM_TARGET_ENABLE_X86 -D LLVM_NATIVE_ASMPARSER=LLVMInitializePowerPCAsmParser
-D LLVM_NATIVE_ASMPRINTER=LLVMInitializePowerPCAsmPrinter -D
LLVM_NATIVE_DISASSEMBLER=LLVMInitializePowerPCDisassembler -D
LLVM_NATIVE_TARGET=LLVMInitializePowerPCTarget -D
LLVM_NATIVE_TARGETINFO=LLVMInitializePowerPCTargetInfo -D
LLVM_NATIVE_TARGETMC=LLVMInitializePowerPCTargetMC -O2 -Wno-format-zero-length
-Wno-c++11-extensions -std=c++14 -fdeprecated-macro -ferror-limit 19
-stack-protector 2 -fno-rtti -fno-signed-char -fgnuc-version=4.2.1
-vectorize-loops -vectorize-slp -faddrsig -x c++ ASTReader-eb69c1.cpp
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'ASTReader-eb69c1.cpp'.
4.      Running pass 'PowerPC MI Peephole Optimization' on function
'@_ZN5clang9ASTReader16ReadVersionTupleERKN4llvm11SmallVectorIyLj64EEERj'
#0 0x0000000002fc8688 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/dim/ins/llvmorg-11-init-18635-g7ab05d9a60b/bin/clang+0x2fc8688)
#1 0x0000000002fc64e8 llvm::sys::RunSignalHandlers()
(/home/dim/ins/llvmorg-11-init-18635-g7ab05d9a60b/bin/clang+0x2fc64e8)
#2 0x0000000002fc8de6 SignalHandler(int)
(/home/dim/ins/llvmorg-11-init-18635-g7ab05d9a60b/bin/clang+0x2fc8de6)
#3 0x00000008055d6a30 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3

The full cpp file is ~13M and a preprocessed version is ~7.5M, so I am reducing
test case now.

In any case, llvmorg-11-init-18634-gc8fae2bb4af compiles this successfully,
while llvmorg-11-init-18635-g7ab05d9a60b asserts.</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>