fallback: translate: call llvm.clmul.v2i64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.clmul.v2i64 M |
| Occurrences: | 3 in 3 configs, 1 test files, 5 more counted only |
| Snippet from: | clmul.cc11607824.ll (mutant of clmul.ll) @commutative_clmul_v2i64 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zbb,+zdinx -O0 |
| Local check: | reproduces at db12fc36f6 |
| 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)
%B = ashr <2 x i64> splat (i64 42), splat (i64 -9223372036854775808)
store <2 x i64> %xy, ptr %p0, align 16
store <2 x i64> %B, ptr %p1, 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=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zbb,+zdinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zbb,+zdinx -O0 -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 (3):
| Input | Function | Config |
|---|
| clmul.2c409372ce.ll (mutant of clmul.ll) | commutative_clmul_v2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zvbc,+zfinx -O0 |
| clmul.cc11607824.ll (mutant of clmul.ll) | commutative_clmul_v2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zbb,+zdinx -O0 |
| clmul.f3ac78ceaf.ll (mutant of clmul.ll) | mul_use_commutative_clmul_v2i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zbc,+zhinx,+zbb -O0 |
Generated 2026-11-29 14:49 UTC.