fallback: legalize: G_PHI <N x f64>
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_PHI <N x f64> M |
| Occurrences: | 4 in 2 configs, 1 test files |
| Snippet from: | fixed-vectors-masked-gather.6fe6ccba4b.ll (mutant of fixed-vectors-masked-gather.ll) @mgather_v4f64 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m,+d,+zvfh,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b -target-abi=lp64d -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.99 = external global <4 x double>
define <4 x double> @mgather_v4f64(<4 x ptr> %ptrs, <4 x i1> %m, <4 x double> %passthru) {
%v = call <4 x double> @llvm.masked.gather.v4f64.v4p0(<4 x ptr> align 8 %ptrs, <4 x i1> %m, <4 x double> %passthru)
store <4 x double> %v, ptr @G.99, align 32
ret <4 x double> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <4 x double> @llvm.masked.gather.v4f64.v4p0(<4 x ptr>, <4 x i1>, <4 x double>) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(read) }
Reproduce:
llc -mtriple=riscv64 -mattr=+m,+d,+zvfh,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b -target-abi=lp64d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+d,+zvfh,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b -target-abi=lp64d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %43:_(<4 x f64>) = G_PHI %42:_(<4 x f64>), %bb.8, %35:_(<4 x f64>), %bb.7 (in function: mgather_v4f64)
warning: Instruction selection used fallback path for mgather_v4f64
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-masked-gather.6fe6ccba4b.ll (mutant of fixed-vectors-masked-gather.ll) | mgather_v4f64 | -mtriple=riscv64 -mattr=+m,+d,+zvfh,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b -target-abi=lp64d -verify-machineinstrs |
| fixed-vectors-masked-gather.a4dd55a800.ll (mutant of fixed-vectors-masked-gather.ll) | mgather_baseidx_zext_v8i8_v8f64 | -mtriple=riscv64 -mattr=+m,+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b -target-abi=lp64d -verify-machineinstrs |
| fixed-vectors-masked-gather.d16b9bfe99.ll (mutant of fixed-vectors-masked-gather.ll) | mgather_v4f64 | -mtriple=riscv64 -mattr=+m,+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b -target-abi=lp64d -verify-machineinstrs |
| fixed-vectors-masked-gather.da0a5f986a.ll (mutant of fixed-vectors-masked-gather.ll) | mgather_baseidx_zext_v8i8_v8f64 | -mtriple=riscv64 -mattr=+m,+d,+zvfh,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b -target-abi=lp64d -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.