fallback: select: G_CONSTANT_POOL p0
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | select: G_CONSTANT_POOL p0 |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | tail-calls.ll @caller_indirect_args via llvm-extract |
| Config: | -code-model=large -mtriple=riscv32 -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
declare i32 @callee_indirect_args(fp128)
; Function Attrs: nounwind
define void @caller_indirect_args() #0 {
entry:
%call = tail call i32 @callee_indirect_args(fp128 1.000000e+00)
ret void
}
attributes #0 = { nounwind }
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"ProfileSummary", !1}
!1 = !{!2, !3, !4, !5, !6, !7, !8, !9}
!2 = !{!"ProfileFormat", !"InstrProf"}
!3 = !{!"TotalCount", i64 10000}
!4 = !{!"MaxCount", i64 10}
!5 = !{!"MaxInternalCount", i64 1}
!6 = !{!"MaxFunctionCount", i64 1000}
!7 = !{!"NumCounts", i64 3}
!8 = !{!"NumFunctions", i64 3}
!9 = !{!"DetailedSummary", !10}
!10 = !{!11, !12, !13}
!11 = !{i32 10000, i64 100, i32 1}
!12 = !{i32 999000, i64 100, i32 1}
!13 = !{i32 999999, i64 1, i32 2}
Reproduce:
llc -code-model=large -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -code-model=large -mtriple=riscv32 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: cannot select: %13:gpr(p0) = G_CONSTANT_POOL %const.0 (in function: caller_indirect_args)
warning: Instruction selection used fallback path for caller_indirect_args
Occurrences (1):
| Input | Function | Config |
|---|
| tail-calls.ll | caller_indirect_args | -code-model=large -mtriple=riscv32 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.