fallback: legalize: G_INTRINSIC p0

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_INTRINSIC p0
Occurrences:66 in 16 configs, 6 test files
Snippet from:stack-protector-target.ll @func via llvm-extract
Config:-mtriple=riscv64-android
Local check:reproduces at 04ca53e65f
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 (66) (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.1c78015700.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_0-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.1c78015700.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_3_alloca-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.2c78ba6365.ll (mutant of frameaddr-returnaddr.ll)test_returnaddress_0-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.3e597094d1.ll (mutant of frameaddr-returnaddr.ll)test_returnaddress_2-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.42332a89d5.ll (mutant of frameaddr-returnaddr.ll)test_returnaddress_2-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.52ba1ef45f.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_0-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.5570aa2d6f.ll (mutant of frameaddr-returnaddr.ll)test_returnaddress_0-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.5cc4bbe64c.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_0-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.90bb52fe53.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_2-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.90bb52fe53.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_3_alloca-mtriple=riscv64 -verify-machineinstrs
frameaddr-returnaddr.9649cf03f3.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_0-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.9649cf03f3.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_3_alloca-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.d4f32b849f.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_2-mtriple=riscv32 -verify-machineinstrs
frameaddr-returnaddr.d4f32b849f.ll (mutant of frameaddr-returnaddr.ll)test_frameaddress_3_alloca-mtriple=riscv32 -verify-machineinstrs
stack-guard-tls.1cf06525a6.ll (mutant of stack-guard-tls.ll)foo-mtriple=riscv64 -verify-machineinstrs
stack-guard-tls.3480bf3401.ll (mutant of stack-guard-tls.ll)foo-mtriple=riscv64 -verify-machineinstrs
stack-guard-tls.9f28d69a70.ll (mutant of stack-guard-tls.ll)foo-mtriple=riscv64 -verify-machineinstrs
stack-guard-tls.a26bce945c.ll (mutant of stack-guard-tls.ll)foo-mtriple=riscv64 -verify-machineinstrs
stack-guard-tls.f74c3a80e6.ll (mutant of stack-guard-tls.ll)foo-mtriple=riscv64 -verify-machineinstrs
stack-protector-target.0eabde1d4e.ll (mutant of stack-protector-target.ll)func-mtriple=riscv64-android
stack-protector-target.28d04f49d7.ll (mutant of stack-protector-target.ll)func-mtriple=riscv64-android
stack-protector-target.2d29a84ee0.ll (mutant of stack-protector-target.ll)func-mtriple=riscv64-fuchsia
stack-protector-target.4f54809aee.ll (mutant of stack-protector-target.ll)func-mtriple=riscv64-fuchsia

Generated 2026-10-15 08:05 UTC.