fallback: legalize: G_INVOKE_REGION_START

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_INVOKE_REGION_START
Occurrences:47 in 11 configs, 3 test files
Snippet from:dwarf-eh.ll @test1 via llvm-extract
Config:-mtriple=riscv32 --code-model=medium
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

declare void @throw_exception()

declare i32 @__gxx_personality_v0(...)

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

define void @test1() personality ptr @__gxx_personality_v0 {
entry:
  invoke void @throw_exception()
          to label %try.cont unwind label %lpad

lpad:                                             ; preds = %entry
  %0 = landingpad { ptr, i32 }
          catch ptr null
  %1 = extractvalue { ptr, i32 } %0, 0
  %2 = tail call ptr @__cxa_begin_catch(ptr %1)
  tail call void @__cxa_end_catch()
  br label %try.cont

try.cont:                                         ; preds = %lpad, %entry
  ret void
}

Reproduce:

llc -mtriple=riscv32 --code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 --code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: G_INVOKE_REGION_START (in function: test1)
warning: Instruction selection used fallback path for test1

Occurrences (47):

InputFunctionConfig
dwarf-eh.lltest1-mtriple=riscv32 --code-model=medium
dwarf-eh.lltest1-mtriple=riscv32 --code-model=medium -relocation-model=pic
dwarf-eh.lltest1-mtriple=riscv32 --code-model=small
dwarf-eh.lltest1-mtriple=riscv32 --code-model=small -relocation-model=pic
dwarf-eh.lltest1-mtriple=riscv64 --code-model=medium
dwarf-eh.lltest1-mtriple=riscv64 --code-model=medium -relocation-model=pic
dwarf-eh.lltest1-mtriple=riscv64 --code-model=small
dwarf-eh.lltest1-mtriple=riscv64 --code-model=small -relocation-model=pic
exception-pointer-register.llcaller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.llcaller-mtriple=riscv64 -verify-machineinstrs
miss-sp-restore-eh.llfoo-mtriple=riscv64 -mattr=+v,+m
dwarf-eh.099a0d8ecf.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium -relocation-model=pic
dwarf-eh.0da3b0fd38.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium
dwarf-eh.1d25479444.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium -relocation-model=pic
dwarf-eh.355fe199b7.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small -relocation-model=pic
dwarf-eh.5e6bb7287a.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small -relocation-model=pic
dwarf-eh.5e96df94ab.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium -relocation-model=pic
dwarf-eh.68afb88bde.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small
dwarf-eh.6db9b07727.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium -relocation-model=pic
dwarf-eh.71c9e18f4e.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small
dwarf-eh.85b089537f.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium
dwarf-eh.8d8964a3b9.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small
dwarf-eh.996847530f.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small -relocation-model=pic
dwarf-eh.9b9c63e825.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small
dwarf-eh.a9028a13cb.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small
dwarf-eh.ac80299ba2.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small -relocation-model=pic
dwarf-eh.bc785f1b51.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium -relocation-model=pic
dwarf-eh.c8efba95cf.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium
dwarf-eh.ce29b31940.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium -relocation-model=pic
dwarf-eh.cebe8dc815.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small
dwarf-eh.d677461891.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium
dwarf-eh.df5aad293a.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small -relocation-model=pic
dwarf-eh.e069e9c48d.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium
dwarf-eh.f9135d3792.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small -relocation-model=pic
dwarf-eh.fbaa115c05.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium
exception-pointer-register.17517a9ec7.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.2f1961c0fc.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.4eb67f75e1.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.8fad012e14.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.a1f46f4891.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.c3c6b8e162.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.c4a8fd87d0.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.ce22f29528.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.f009e53e4d.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.f253a710b4.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
miss-sp-restore-eh.48d49ef805.ll (mutant of miss-sp-restore-eh.ll)foo-mtriple=riscv64 -mattr=+v,+m
miss-sp-restore-eh.4e89cc03d2.ll (mutant of miss-sp-restore-eh.ll)foo-mtriple=riscv64 -mattr=+v,+m

Generated 2026-10-15 08:05 UTC.