================
@@ -4723,8 +4723,6 @@ void CodeGenFunction::EmitTrapCheck(llvm::Value *Checked,
     }
     if (NoMerge)
       TrapCall->addFnAttr(llvm::Attribute::NoMerge);
-    TrapCall->setDoesNotReturn();
----------------
delcypher wrote:

Are we sure this is safe to remove? IIRC this is used to set branch 
probabilities on traps to make them to be considered unlikely.

https://github.com/llvm/llvm-project/pull/242158
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to