fallback: legalize: G_CLMUL <N x i32>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_CLMUL <N x i32> M |
| Occurrences: | 5 in 4 configs, 1 test files, 27 more counted only |
| Snippet from: | fixed-vectors-clmul.4d35331cb7.ll (mutant of fixed-vectors-clmul.ll) @clmul_v2i32 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.3 = external global i64
; Function Attrs: nounwind
define <2 x i32> @clmul_v2i32(<2 x i32> %x, <2 x i32> %y) #0 {
%B = add i64 0, 42
%a = call <2 x i32> @llvm.clmul.v2i32(<2 x i32> %x, <2 x i32> %y)
store i64 %B, ptr @G.3, align 4
ret <2 x i32> %a
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i32> @llvm.clmul.v2i32(<2 x i32>, <2 x i32>) #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: %11:_(<2 x i32>) = G_CLMUL %0:_, %1:_ (in function: clmul_v2i32)
warning: Instruction selection used fallback path for clmul_v2i32
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-clmul.2113042d63.ll (mutant of fixed-vectors-clmul.ll) | clmul_v2i32 | -mtriple=riscv32 -verify-machineinstrs -O0 |
| fixed-vectors-clmul.2113042d63.ll (mutant of fixed-vectors-clmul.ll) | clmul_v4i32 | -mtriple=riscv32 -verify-machineinstrs -O0 |
| fixed-vectors-clmul.2fbb8121d1.ll (mutant of fixed-vectors-clmul.ll) | clmul_v16i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zicond -O0 |
| fixed-vectors-clmul.4d35331cb7.ll (mutant of fixed-vectors-clmul.ll) | clmul_v2i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-zvbc32e -O0 |
| fixed-vectors-clmul.e08fc3bcf9.ll (mutant of fixed-vectors-clmul.ll) | clmul_v2i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m -O1 |
Generated 2026-11-29 14:49 UTC.