fallback: legalize: G_UREM <4 x s32>
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_UREM <4 x s32> NEW |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | calling-conv-p-ext-vector.2b062148db.ll (mutant of calling-conv-p-ext-vector.ll) @test_cc_v4i32 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global <4 x i32>
define <4 x i32> @test_cc_v4i32(<4 x i32> %a, <4 x i32> %b) {
%A = alloca <4 x i32>, align 16
store <4 x i32> poison, ptr %A, align 16
%LGV = load <4 x i32>, ptr @G.2, align 16
%res = add <4 x i32> %a, %b
%B = urem <4 x i32> %a, %LGV
store <4 x i32> %B, ptr %A, align 16
ret <4 x i32> %res
}
Reproduce:
llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %10:_(<4 x s32>) = G_UREM %0:_, %7:_ (in function: test_cc_v4i32)
warning: Instruction selection used fallback path for test_cc_v4i32
Occurrences (2):
| Input | Function | Config |
|---|
| calling-conv-p-ext-vector.2b062148db.ll (mutant of calling-conv-p-ext-vector.ll) | test_cc_v4i32 | -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| calling-conv-p-ext-vector.dd717daed6.ll (mutant of calling-conv-p-ext-vector.ll) | test_cc_v4i32 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.