<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 - Crash in isValidAssumeForContext after lvmorg-11-init-19807-gcf1d9f9f49a"
   href="https://bugs.llvm.org/show_bug.cgi?id=46638">46638</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash in isValidAssumeForContext after lvmorg-11-init-19807-gcf1d9f9f49a
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </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>dmajor@mozilla.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, nikita.ppv@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Unfortunately the steps to reproduce are roughly "build Firefox with PGO and
LTO enabled for both C++ and Rust" which is an arduous process. Here's hoping
that maybe the bug can be found by inspection alone.

After
<a href="https://github.com/llvm/llvm-project/commit/cf1d9f9f49ae62ab4c7bb685d786a8daa7bc1d4a">https://github.com/llvm/llvm-project/commit/cf1d9f9f49ae62ab4c7bb685d786a8daa7bc1d4a</a>,
the following crash is seen:

<span class="quote">> 0.     Running pass 'Function Pass Manager' on module '/home/vm/src/mc/obj-llvmorg-11-init-19841-g7356b4243ad/x86_64-unknown-linux-gnu/release/libgkrust_gtest.a(wgpu_bindings-00b8588e9f85c3f5.wgpu_bindings.cqanh8rg-cgu.0.rcgu.o at 12913238)'.
> 1. Running pass 'Simplify the CFG' on function '@wgpu_server_device_create_bind_group_layout'
>  #0 0x00007f1e117e568a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/home/vm/src/llvmorg-11-init-19807-gcf1d9f9f49a/bin/../lib/libLLVM-11git.so+0x14df68a)
>  #1 0x00007f1e117e5964 SignalHandler(int) (/home/vm/src/llvmorg-11-init-19807-gcf1d9f9f49a/bin/../lib/libLLVM-11git.so+0x14df964)
>  #2 0x00007f1e12e113c0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
>  #3 0x00007f1e1181c036 llvm::BasicBlock::getSinglePredecessor() const (/home/vm/src/llvmorg-11-init-19807-gcf1d9f9f49a/bin/../lib/libLLVM-11git.so+0x1516036)
>  #4 0x00007f1e12315d49 llvm::isValidAssumeForContext(llvm::Instruction const*, llvm::Instruction const*, llvm::DominatorTree const*) (/home/vm/src/llvmorg-11-init-19807-gcf1d9f9f49a/bin/../lib/libLLVM-11git.so+0x200fd49)
>  #5 0x00007f1e12251dfc SimplifyICmpInst(unsigned int, llvm::Value*, llvm::Value*, llvm::SimplifyQuery const&, unsigned int) (/home/vm/src/llvmorg-11-init-19807-gcf1d9f9f49a/bin/../lib/libLLVM-11git.so+0x1f4bdfc)
>  #6 0x00007f1e122564b8 llvm::SimplifyInstruction(llvm::Instruction*, llvm::SimplifyQuery const&, llvm::OptimizationRemarkEmitter*) (/home/vm/src/llvmorg-11-init-19807-gcf1d9f9f49a/bin/../lib/libLLVM-11git.so+0x1f504b8)
>  #7 0x00007f1e11e5b8e6 FoldCondBranchOnPHI(llvm::BranchInst*, llvm::DataLayout const&, llvm::AssumptionCache*) (/home/vm/src/llvmorg-11-init-19807-gcf1d9f9f49a/bin/../lib/libLLVM-11git.so+0x1b558e6)
>  #8 0x00007f1e11e5753d (anonymous namespace)::SimplifyCFGOpt::simplifyCondBranch(llvm::BranchInst*, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&) (/home/vm/src/llvmorg-11-init-19807-gcf1d9f9f49a/bin/../lib/libLLVM-11git.so+0x1b5153d)
>  #9 0x00007f1e11e4dbca (anonymous namespace)::SimplifyCFGOpt::simplifyOnce(llvm::BasicBlock*) (/home/vm/src/llvmorg-11-init-19807-gcf1d9f9f49a/bin/../lib/libLLVM-11git.so+0x1b47bca)
> #10 0x00007f1e11e4c9b5 llvm::simplifyCFG(llvm::BasicBlock*, llvm::TargetTransformInfo const&, llvm::SimplifyCFGOptions const&, llvm::SmallPtrSetImpl<llvm::BasicBlock*>*) (/home/vm/src/llvmorg-11-init-19807-gcf1d9f9f49a/bin/../lib/libLLVM-11git.so+0x1b469b5)</span ></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>