fallback: legalize: G_PHI <N x f64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_PHI <N x f64> M |
| Occurrences: | 3 in 3 configs, 1 test files, 43 more counted only |
| Snippet from: | fixed-vectors-masked-gather.69b7c1c172.ll (mutant of fixed-vectors-masked-gather.ll) @mgather_v8f64 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b,+zcb -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <8 x double> @mgather_v8f64(<8 x ptr> %ptrs, <8 x i1> %m, <8 x double> %passthru) {
%A = alloca i128, align 8
store i128 poison, ptr %A, align 4
%B = mul i128 42, 1
%v = call <8 x double> @llvm.masked.gather.v8f64.v8p0(<8 x ptr> align 8 %ptrs, <8 x i1> %m, <8 x double> %passthru)
store i128 %B, ptr %A, align 4
ret <8 x double> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <8 x double> @llvm.masked.gather.v8f64.v8p0(<8 x ptr>, <8 x i1>, <8 x double>) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(read) }
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b,+zcb -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b,+zcb -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %84:_(<8 x f64>) = G_PHI %83:_(<8 x f64>), %bb.16, %76:_(<8 x f64>), %bb.15 (in function: mgather_v8f64)
warning: Instruction selection used fallback path for mgather_v8f64
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-masked-gather.69b7c1c172.ll (mutant of fixed-vectors-masked-gather.ll) | mgather_v8f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b,+zcb -O3 |
| fixed-vectors-masked-gather.cee0ec5a49.ll (mutant of fixed-vectors-masked-gather.ll) | mgather_v8f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b,+zicond,+zbkb -O1 |
| fixed-vectors-masked-gather.daae1554f9.ll (mutant of fixed-vectors-masked-gather.ll) | mgather_baseidx_v8f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+d,+zvfh,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b -O1 |
Generated 2026-11-29 14:49 UTC.