fallback: translate: call llvm.clmul.i8~
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.clmul.i8~ M |
| Occurrences: | 8 in 7 configs, 1 test files, 3 more counted only |
| Snippet from: | clmul.9779ba4ef5.ll (mutant of clmul.ll) @clmul_i4 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i4 @clmul_i4(i4 %a, i4 %b) #0 {
%res = call i4 @llvm.clmul.i4(i4 %a, i4 %b)
%B = sdiv i4 %res, 7
store i4 %B, ptr poison, align 1
ret i4 %res
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare i4 @llvm.clmul.i4(i4, i4) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.clmul.i4: ' %res = call i4 @llvm.clmul.i4(i4 %a, i4 %b)' (in function: clmul_i4)
warning: Instruction selection used fallback path for clmul_i4
Occurrences (8):
| Input | Function | Config |
|---|
| clmul.5def08b1f1.ll (mutant of clmul.ll) | clmul_i4_noimplicitfloat | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0 |
| clmul.5fd4850265.ll (mutant of clmul.ll) | clmul_constfold_i4 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zbs,+zfinx,+zicond -O3 |
| clmul.79c1252724.ll (mutant of clmul.ll) | clmul_i4_noimplicitfloat | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zfinx -O0 |
| clmul.943ae625d5.ll (mutant of clmul.ll) | clmul_i4 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zvkb,+zhinx -O2 |
| clmul.95c730ec5b.ll (mutant of clmul.ll) | clmul_constfold_i4 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zhinx -O1 |
| clmul.9779ba4ef5.ll (mutant of clmul.ll) | clmul_i4 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O0 |
| clmul.9779ba4ef5.ll (mutant of clmul.ll) | clmul_i4_noimplicitfloat | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O0 |
| clmul.dabe420521.ll (mutant of clmul.ll) | clmul_i4 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zvbb,+zfinx -O0 |
Generated 2026-11-29 14:49 UTC.