fallback: translate: call llvm.riscv.orc.b.i32
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.riscv.orc.b.i32 M |
| Occurrences: | 3 in 3 configs, 2 test files, 2 more counted only |
| Snippet from: | orc-b-rv64.6f30f7c642.ll (mutant of orc-b-rv64.ll) @orc_b_i32 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zfinx -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.riscv.orc.b.i32(i32) #0
define signext i32 @orc_b_i32(i32 signext %x) {
%r = call i32 @llvm.riscv.orc.b.i32(i32 %x)
%B = xor i32 %r, 42
store i32 %B, ptr poison, align 4
ret i32 %r
}
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zfinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zfinx -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.orc.b.i32: ' %r = call i32 @llvm.riscv.orc.b.i32(i32 %x)' (in function: orc_b_i32)
warning: Instruction selection used fallback path for orc_b_i32
Occurrences (3):
| Input | Function | Config |
|---|
| orc-b-rv64.3e0f8b981d.ll (mutant of orc-b-rv64.ll) | orc_b_i32_anyext | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zvkb,+zhinx -O1 |
| orc-b-rv64.6f30f7c642.ll (mutant of orc-b-rv64.ll) | orc_b_i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zfinx -O3 |
| rv32zbb-intrinsic.a795db84e4.ll (mutant of rv32zbb-intrinsic.ll) | orcb | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zdinx -O2 |
Generated 2026-11-29 14:49 UTC.