fallback: translate: call llvm.clmul.v2i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.clmul.v2i64 M |
| Occurrences: | 5 in 4 configs, 1 test files, 3 more counted only |
| Snippet from: | clmul.c8a98c4892.ll (mutant of clmul.ll) @commutative_clmul_v2i64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zvbc,+zfinx -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define void @commutative_clmul_v2i64(<2 x i64> %x, <2 x i64> %y, ptr %p0, ptr %p1) #0 {
%xy = call <2 x i64> @llvm.clmul.v2i64(<2 x i64> %x, <2 x i64> %y)
%yx = call <2 x i64> @llvm.clmul.v2i64(<2 x i64> %y, <2 x i64> %x)
store <2 x i64> %xy, ptr %p0, align 16
store <2 x i64> %yx, ptr %p1, align 16
store <2 x i64> %xy, ptr poison, align 16
ret void
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i64> @llvm.clmul.v2i64(<2 x i64>, <2 x i64>) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zvbc,+zfinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zvbc,+zfinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.clmul.v2i64: ' %xy = call <2 x i64> @llvm.clmul.v2i64(<2 x i64> %x, <2 x i64> %y)' (in function: commutative_clmul_v2i64)
warning: Instruction selection used fallback path for commutative_clmul_v2i64
Occurrences (5):
| Input | Function | Config |
|---|
| clmul.5fd4850265.ll (mutant of clmul.ll) | commutative_clmul_v2i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zbs,+zfinx,+zicond -O3 |
| clmul.5fd4850265.ll (mutant of clmul.ll) | mul_use_commutative_clmul_v2i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zbs,+zfinx,+zicond -O3 |
| clmul.79c1252724.ll (mutant of clmul.ll) | mul_use_commutative_clmul_v2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zfinx -O0 |
| clmul.95c730ec5b.ll (mutant of clmul.ll) | mul_use_commutative_clmul_v2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zhinx -O1 |
| clmul.c8a98c4892.ll (mutant of clmul.ll) | commutative_clmul_v2i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zvbc,+zfinx -O1 |
Generated 2026-11-29 14:49 UTC.