fallback: legalize: G_STORE <3 x s33>,p0
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_STORE <3 x s33>,p0 |
| Occurrences: | 12 in 6 configs, 1 test files |
| Snippet from: | srem-seteq-illegal-types.ll @test_srem_vec via llvm-extract |
| Config: | -mtriple=riscv32 |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define void @test_srem_vec(ptr %X) #0 {
%ld = load <3 x i33>, ptr %X, align 16
%srem = srem <3 x i33> %ld, <i33 6, i33 7, i33 -5>
%cmp = icmp ne <3 x i33> %srem, <i33 0, i33 1, i33 2>
%ext = sext <3 x i1> %cmp to <3 x i33>
store <3 x i33> %ext, ptr %X, align 16
ret void
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: G_STORE %12:_(<3 x s33>), %0:_(p0) :: (store (<3 x s33>) into %ir.X, align 16) (in function: test_srem_vec)
warning: Instruction selection used fallback path for test_srem_vec
Occurrences (12):
Generated 2026-10-15 08:05 UTC.