fallback: legalize: G_CLMUL <N x i16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_CLMUL <N x i16> M |
| Occurrences: | 3 in 3 configs, 1 test files, 3 more counted only |
| Snippet from: | fixed-vectors-clmul.4d35331cb7.ll (mutant of fixed-vectors-clmul.ll) @clmul_v4i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-zvbc32e -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
; Function Attrs: nounwind
define <4 x i16> @clmul_v4i16(<4 x i16> %a, <4 x i16> %b) #0 {
%C = fcmp ord float +inf, 4.200000e+01
%res = call <4 x i16> @llvm.clmul.v4i16(<4 x i16> %a, <4 x i16> %b)
store i1 %C, ptr @G.1, align 1
ret <4 x i16> %res
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i16> @llvm.clmul.v4i16(<4 x i16>, <4 x i16>) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-zvbc32e -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-zvbc32e -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %8:_(<4 x i16>) = G_CLMUL %0:_, %1:_ (in function: clmul_v4i16)
warning: Instruction selection used fallback path for clmul_v4i16
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-clmul.2113042d63.ll (mutant of fixed-vectors-clmul.ll) | clmul_v4i16 | -mtriple=riscv32 -verify-machineinstrs -O0 |
| fixed-vectors-clmul.454c54eda5.ll (mutant of fixed-vectors-clmul.ll) | clmul_v4i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh -O1 |
| fixed-vectors-clmul.4d35331cb7.ll (mutant of fixed-vectors-clmul.ll) | clmul_v4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-zvbc32e -O0 |
Generated 2026-11-29 14:49 UTC.