fallback: legalize: G_INVOKE_REGION_START

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_INVOKE_REGION_START
Occurrences:52 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 04ca53e65f
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 (52) (first 50):

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.05ca745a12.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small
dwarf-eh.264af83242.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small -relocation-model=pic
dwarf-eh.2c275f19d8.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small -relocation-model=pic
dwarf-eh.4e3f60a554.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small -relocation-model=pic
dwarf-eh.50033de36c.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small
dwarf-eh.50f05092fd.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small
dwarf-eh.51e9819ac4.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small -relocation-model=pic
dwarf-eh.551cf3fbdd.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small -relocation-model=pic
dwarf-eh.5692457ace.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium -relocation-model=pic
dwarf-eh.56cd48d672.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium -relocation-model=pic
dwarf-eh.583d2e0567.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium -relocation-model=pic
dwarf-eh.5bc33778f2.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium -relocation-model=pic
dwarf-eh.5c33192222.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium -relocation-model=pic
dwarf-eh.5d17b62df3.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small
dwarf-eh.697ec6fb1f.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium -relocation-model=pic
dwarf-eh.6b029d13ba.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium
dwarf-eh.6d599fb7aa.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small
dwarf-eh.70269ed0d3.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small -relocation-model=pic
dwarf-eh.80e8ebc6f2.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium
dwarf-eh.84b1d02e04.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small -relocation-model=pic
dwarf-eh.949c413f68.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium
dwarf-eh.9b6224e130.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium -relocation-model=pic
dwarf-eh.a0f565df27.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small -relocation-model=pic
dwarf-eh.b90363b61a.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium
dwarf-eh.ba1acd2449.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium
dwarf-eh.c5390b717a.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small
dwarf-eh.c6e619565b.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium
dwarf-eh.c9585e0215.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium -relocation-model=pic
dwarf-eh.d9693aab21.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small
dwarf-eh.e41724177c.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium
dwarf-eh.e609cdae03.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium
dwarf-eh.fc027bd047.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small
exception-pointer-register.0a7fcc2041.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.0afaadde1c.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.1b1978d8a9.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.4d30239913.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.4e52b22514.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.617586365d.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
miss-sp-restore-eh.4317583783.ll (mutant of miss-sp-restore-eh.ll)foo-mtriple=riscv64 -mattr=+v,+m

Generated 2026-10-15 08:05 UTC.