[llvm] Add interface to check if a call has a deopt bundle (NFC) (PR #91348)
Aleksandr Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue May 7 13:24:30 PDT 2024
================
@@ -2849,7 +2849,7 @@ bool IRTranslator::translateInvoke(const User &U,
return false;
// FIXME: support whatever these are.
- if (I.countOperandBundlesOfType(LLVMContext::OB_deopt))
----------------
aleks-tmb wrote:
Actually, it doesn't, because the instruction can only have one deopt bundle:
https://llvm.org/docs/LangRef.html#deoptimization-operand-bundles
> There can be at most one "deopt" operand bundle attached to a call site
https://github.com/llvm/llvm-project/pull/91348
More information about the llvm-commits
mailing list