<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:haris@nvidia.com" title="Hari Sandanagobalane <haris@nvidia.com>"> <span class="fn">Hari Sandanagobalane</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - instcombine/const folding segfaults with attached module"
   href="https://llvm.org/bugs/show_bug.cgi?id=28725">bug 28725</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - instcombine/const folding segfaults with attached module"
   href="https://llvm.org/bugs/show_bug.cgi?id=28725#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - instcombine/const folding segfaults with attached module"
   href="https://llvm.org/bugs/show_bug.cgi?id=28725">bug 28725</a>
              from <span class="vcard"><a class="email" href="mailto:haris@nvidia.com" title="Hari Sandanagobalane <haris@nvidia.com>"> <span class="fn">Hari Sandanagobalane</span></a>
</span></b>
        <pre>A second failure with similar stack trace (source file attached)

#0 0x00007fb0d91bb23f llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/home/tlutz/git/llvm/lib/Support/Unix/Signals.inc:402:0
#1 0x00007fb0d91bb601 PrintStackTraceSignalHandler(void*)
/home/tlutz/git/llvm/lib/Support/Unix/Signals.inc:470:0
#2 0x00007fb0d91b9944 llvm::sys::RunSignalHandlers()
/home/tlutz/git/llvm/lib/Support/Signals.cpp:44:0
#3 0x00007fb0d91baba8 SignalHandler(int)
/home/tlutz/git/llvm/lib/Support/Unix/Signals.inc:256:0
#4 0x00007fb0d7bff870 __restore_rt (/lib64/libpthread.so.0+0xf870)
#5 0x00007fb0da759a66 llvm::Value::getType() const
/home/tlutz/git/llvm/include/llvm/IR/Value.h:227:0
#6 0x00007fb0da7bb611 llvm::InstCombiner::visitZExt(llvm::ZExtInst&)
/home/tlutz/git/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp:832:0
#7 0x00007fb0da769631 llvm::InstVisitor<llvm::InstCombiner,
llvm::Instruction*>::visit(llvm::Instruction&)
/home/tlutz/git/llvm/include/llvm/IR/Instruction.def:162:0
#8 0x00007fb0da757f1e llvm::InstCombiner::run()
/home/tlutz/git/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:2912:0
#9 0x00007fb0da758e4e combineInstructionsOverFunction(llvm::Function&,
llvm::InstCombineWorklist&, llvm::AAResults*, llvm::AssumptionCache&,
llvm::TargetLibraryInfo&, llvm::DominatorTree&, bool, llvm::LoopInfo*)
/home/tlutz/git/llvm/lib/Transforms/InstCombine/Instruction
Combining.cpp:3141:0
#10 0x00007fb0da759133
llvm::InstructionCombiningPass::runOnFunction(llvm::Function&)
/home/tlutz/git/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3199:0
#11 0x00007fb0db5b24d4 llvm::FPPassManager::runOnFunction(llvm::Function&)
/home/tlutz/git/llvm/lib/IR/LegacyPassManager.cpp:1526:0
#12 0x00007fb0db5b2667 llvm::FPPassManager::runOnModule(llvm::Module&)
/home/tlutz/git/llvm/lib/IR/LegacyPassManager.cpp:1547:0
#13 0x00007fb0db5b29f3 (anonymous
namespace)::MPPassManager::runOnModule(llvm::Module&)
/home/tlutz/git/llvm/lib/IR/LegacyPassManager.cpp:1603:0
#14 0x00007fb0db5b30e4 llvm::legacy::PassManagerImpl::run(llvm::Module&)
/home/tlutz/git/llvm/lib/IR/LegacyPassManager.cpp:1706:0
#15 0x00007fb0db5b3325 llvm::legacy::PassManager::run(llvm::Module&)
/home/tlutz/git/llvm/lib/IR/LegacyPassManager.cpp:1738:0
#16 0x0000000000471535 (opt+0x471535)
#17 0x00007fb0d7049b05 __libc_start_main (/lib64/libc.so.6+0x21b05)
#18 0x0000000000457339 (opt+0x457339)
Stack dump:
0.  Program arguments: opt -instcombine crash2.ll 
1.  Running pass 'Function Pass Manager' on module 'crash2.ll'.
2.  Running pass 'Combine redundant instructions' on function '@fn2'</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>