[llvm] [SelectionDAG] improve error message for invalid op bundles (PR #148722)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 15 12:56:07 PDT 2025
================
@@ -3351,13 +3351,30 @@ void SelectionDAGBuilder::visitInvoke(const InvokeInst &I) {
// Deopt and ptrauth bundles are lowered in helper functions, and we don't
// have to do anything here to lower funclet bundles.
- if (I.hasOperandBundlesOtherThan(
- {LLVMContext::OB_deopt, LLVMContext::OB_gc_transition,
- LLVMContext::OB_gc_live, LLVMContext::OB_funclet,
- LLVMContext::OB_cfguardtarget, LLVMContext::OB_ptrauth,
- LLVMContext::OB_clang_arc_attachedcall, LLVMContext::OB_kcfi}))
+ constexpr uint32_t kAllowedBundles[] = {
----------------
fmayer wrote:
Also in https://github.com/llvm/llvm-project/pull/148945
https://github.com/llvm/llvm-project/pull/148722
More information about the llvm-commits
mailing list