fallback: legalize: G_INVOKE_REGION_START

Run:main-04ca53e65f-20261014-113325
Kind:fallback
Category:legalize: G_INVOKE_REGION_START
Occurrences:39 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 (39):

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.0f65d8f4be.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium
dwarf-eh.210721f659.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium -relocation-model=pic
dwarf-eh.250892698f.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small
dwarf-eh.38bdb1d98d.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small
dwarf-eh.4f4a750720.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium -relocation-model=pic
dwarf-eh.54af8df77e.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small -relocation-model=pic
dwarf-eh.54b12f510b.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium -relocation-model=pic
dwarf-eh.735493f411.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium -relocation-model=pic
dwarf-eh.78cff648e5.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=medium
dwarf-eh.8457feee9a.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium
dwarf-eh.986dec07c7.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small
dwarf-eh.a82c9dfd93.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium
dwarf-eh.d2f7a994a8.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small
dwarf-eh.e804ec7d28.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small -relocation-model=pic
dwarf-eh.f3ebea540e.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=small -relocation-model=pic
dwarf-eh.f6ff4aa5f9.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv32 --code-model=small -relocation-model=pic
exception-pointer-register.29035092c9.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.6cf0447c66.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.785b05f5b7.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.7ab08a0d73.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.8639e4e230.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.885ad72b6b.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.93a49a6565.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.b35aa54a86.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv64 -verify-machineinstrs
exception-pointer-register.ceb3e71842.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
exception-pointer-register.f001641ffc.ll (mutant of exception-pointer-register.ll)caller-mtriple=riscv32 -verify-machineinstrs
miss-sp-restore-eh.019fb8805c.ll (mutant of miss-sp-restore-eh.ll)foo-mtriple=riscv64 -mattr=+v,+m
miss-sp-restore-eh.e4afffe4cb.ll (mutant of miss-sp-restore-eh.ll)foo-mtriple=riscv64 -mattr=+v,+m

Generated 2026-10-15 08:05 UTC.