fallback: legalize: G_INTRINSIC p0

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_INTRINSIC p0
Occurrences:72 in 16 configs, 6 test files
Snippet from:stack-protector-target.ll @func via llvm-extract
Config:-mtriple=riscv64-android
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind sspreq
define void @func() #0 {
  %1 = alloca i32, align 4
  call void @capture(ptr %1)
  ret void
}

declare void @capture(ptr)

attributes #0 = { nounwind sspreq }

Reproduce:

llc -mtriple=riscv64-android -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64-android -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %6:_(p0) = G_INTRINSIC intrinsic(@llvm.thread.pointer) (in function: func)
warning: Instruction selection used fallback path for func

Occurrences (72) (first 50):

InputFunctionConfig
frameaddr-returnaddr.lltest_frameaddress_0-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.lltest_frameaddress_2-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.lltest_frameaddress_3_alloca-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.lltest_returnaddress_0-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.lltest_returnaddress_2-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.lltest_frameaddress_0-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.lltest_frameaddress_2-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.lltest_frameaddress_3_alloca-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.lltest_returnaddress_0-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.lltest_returnaddress_2-mtriple=riscv64 -verify-machineinstrs
push-pop-popret.lluse_fp-mtriple=riscv32 -mattr=+zcmp -verify-machineinstrs
push-pop-popret.lluse_fp-mtriple=riscv32 -mattr=+zcmp,+save-restore -verify-machineinstrs
push-pop-popret.lluse_fp-mtriple=riscv32 -verify-machineinstrs
push-pop-popret.lluse_fp-mtriple=riscv64 -mattr=+zcmp -verify-machineinstrs
push-pop-popret.lluse_fp-mtriple=riscv64 -mattr=+zcmp,+save-restore -verify-machineinstrs
push-pop-popret.lluse_fp-mtriple=riscv64 -verify-machineinstrs
stack-guard-tls.llfoo-mtriple=riscv64 -verify-machineinstrs
stack-protector-target.llfunc-mtriple=riscv64-android
stack-protector-target.llfunc-mtriple=riscv64-fuchsia
thread-pointer.llthread_pointer-mtriple=riscv32
thread-pointer.llthread_pointer-mtriple=riscv64
xqccmp-push-pop-popret.lluse_fp-mtriple=riscv32 -mattr=+xqccmp -frame-pointer=all -verify-machineinstrs
xqccmp-push-pop-popret.lluse_fp-mtriple=riscv32 -mattr=+xqccmp -verify-machineinstrs
xqccmp-push-pop-popret.lluse_fp-mtriple=riscv32 -mattr=+xqccmp,+save-restore -verify-machineinstrs
xqccmp-push-pop-popret.lluse_fp-mtriple=riscv64 -mattr=+xqccmp -frame-pointer=all -verify-machineinstrs
xqccmp-push-pop-popret.lluse_fp-mtriple=riscv64 -mattr=+xqccmp -verify-machineinstrs
xqccmp-push-pop-popret.lluse_fp-mtriple=riscv64 -mattr=+xqccmp,+save-restore -verify-machineinstrs
frameaddr-returnaddr.59e84e7e32.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_2-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.59e84e7e32.ll (mutant of frameaddr-returnaddr.ll)test_returnaddress_0-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.69ff49489c.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_0-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.69ff49489c.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_3_alloca-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.cd4f254c79.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_2-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.cd4f254c79.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_3_alloca-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.eb52da00f0.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_0-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.eb52da00f0.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_3_alloca-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.f15df75938.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_2-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.f15df75938.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_3_alloca-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.f6218d601a.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_2-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.f6218d601a.ll (mutant of frameaddr-returnaddr.ll)test_returnaddress_0-mtriple=riscv32 -verify-machineinstrs
push-pop-popret.3c29f4bb7e.ll (mutant of push-pop-popret.ll)use_fp-mtriple=riscv32 -verify-machineinstrs
push-pop-popret.3f5124515c.ll (mutant of push-pop-popret.ll)use_fp-mtriple=riscv64 -mattr=+zcmp,+save-restore -verify-machineinstrs
push-pop-popret.44aa76a2af.ll (mutant of push-pop-popret.ll)use_fp-mtriple=riscv32 -mattr=+zcmp -verify-machineinstrs
push-pop-popret.456af74d2e.ll (mutant of push-pop-popret.ll)use_fp-mtriple=riscv32 -mattr=+zcmp,+save-restore -verify-machineinstrs
push-pop-popret.91b87c5f30.ll (mutant of push-pop-popret.ll)use_fp-mtriple=riscv64 -mattr=+zcmp -verify-machineinstrs
push-pop-popret.d1b6f52e7a.ll (mutant of push-pop-popret.ll)use_fp-mtriple=riscv64 -verify-machineinstrs
stack-guard-tls.298865b3c0.ll (mutant of stack-guard-tls.ll)foo-mtriple=riscv64 -verify-machineinstrs
stack-guard-tls.a249c5d327.ll (mutant of stack-guard-tls.ll)foo-mtriple=riscv64 -verify-machineinstrs
stack-guard-tls.c38799545b.ll (mutant of stack-guard-tls.ll)foo-mtriple=riscv64 -verify-machineinstrs
stack-guard-tls.e45956e82c.ll (mutant of stack-guard-tls.ll)foo-mtriple=riscv64 -verify-machineinstrs
stack-guard-tls.f3c3ff1134.ll (mutant of stack-guard-tls.ll)foo-mtriple=riscv64 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.