<div dir="ltr">Hello,<br><br>I am working on upgrading an app from using llvm 8.0.1 to llvm 10.0.<div><br>I create a JIT llvm::ExecutionEngine(i386 CPU, NONE codegenopt) which contains a single module.</div><div><br></div><div>Below are some numbers for call to llvm::ExecutionEngine::finalizeObject:</div><div>llvm 8.0.1 - less than 0.5 seconds</div><div>llvm 10.0 - greater than 170 seconds</div><div><br></div><div>Using Vtune, was able to trace the regression to llvm::SDNode::hasNUsesOfValue(which is called by llvm::X86TargetLowering::PerformDAGCombine)</div><div><br>I want to check if anyone has faced a similar problem or has any ideas what the root cause/fix might be?</div><div><br>Thanks,</div><div>Gaurav<br class="gmail-Apple-interchange-newline"></div></div>