fallback: legalize: G_PHI <N x i8>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_PHI <N x i8> M |
| Occurrences: | 4 in 4 configs, 4 test files, 86 more counted only |
| Snippet from: | expandload.ce7081465f.ll (mutant of expandload.ll) @test_expandload_v256i8 via llvm-extract |
| Config: | -verify-machineinstrs -mtriple=riscv64 -mattr=+d,+m,+zbb -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i1
define <256 x i8> @test_expandload_v256i8(ptr %base, <256 x i1> %mask, <256 x i8> %passthru) {
%B = sub i1 false, true
%res = call <256 x i8> @llvm.masked.expandload.v256i8.p0(ptr align 1 %base, <256 x i1> %mask, <256 x i8> %passthru)
store i1 %B, ptr @G.3, align 1
ret <256 x i8> %res
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <256 x i8> @llvm.masked.expandload.v256i8.p0(ptr captures(none), <256 x i1>, <256 x i8>) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(read) }
Reproduce:
llc -verify-machineinstrs -mtriple=riscv64 -mattr=+d,+m,+zbb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -verify-machineinstrs -mtriple=riscv64 -mattr=+d,+m,+zbb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %2567:_(<256 x i8>) = G_PHI %2565:_(<256 x i8>), %bb.512, %2559:_(<256 x i8>), %bb.511 (in function: test_expandload_v256i8)
warning: Instruction selection used fallback path for test_expandload_v256i8
Occurrences (4):
| Input | Function | Config |
|---|
| attributes.4be9db2af5.ll (mutant of attributes.ll) | addi | -mtriple=riscv32 -O1 -verify-machineinstrs |
| double-round-conv.0effb563.21a8215e.7f8564bbb2.ll (mutant of double-round-conv.0effb563.21a8215e.ll) | test_round_si32 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+zbs -O1 |
| expandload.ce7081465f.ll (mutant of expandload.ll) | test_expandload_v256i8 | -verify-machineinstrs -mtriple=riscv64 -mattr=+d,+m,+zbb -O0 |
| fixed-vectors-deinterleave-load.ae7061cba3.ll (mutant of fixed-vectors-deinterleave-load.ll) | vector_deinterleave_load_factor3_no_extract | -mtriple=riscv64 -mattr=+zvfhmin,+zvfbfmin,+zcb -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.