fallback: legalize: G_OR <N x i128>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_OR <N x i128> M |
| Occurrences: | 3 in 3 configs, 1 test files, 6 more counted only |
| Snippet from: | fixed-vectors-bitinsert.28cf550d8f.ll (mutant of fixed-vectors-bitinsert.ll) @test_bitinsert_v2ptr_b128 via llvm-extract |
| Config: | -mtriple=riscv64 -O0 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.4 = external global i16
define <2 x b128> @test_bitinsert_v2ptr_b128(<2 x b128> %base, <2 x ptr> %val) {
%LGV = load i16, ptr @G.4, align 2
%B = xor i16 -1, %LGV
%result = bitinsert <2 x b128> %base, <2 x ptr> %val, <2 x i32> splat (i32 32)
store i16 %B, ptr @G.4, align 2
ret <2 x b128> %result
}
Reproduce:
llc -mtriple=riscv64 -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %10:_(<2 x i128>) = G_OR %22:_, %23:_ (in function: test_bitinsert_v2ptr_b128)
warning: Instruction selection used fallback path for test_bitinsert_v2ptr_b128
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-bitinsert.28cf550d8f.ll (mutant of fixed-vectors-bitinsert.ll) | test_bitinsert_v2ptr_b128 | -mtriple=riscv64 -O0 -verify-machineinstrs |
| fixed-vectors-bitinsert.bf8ea20be7.ll (mutant of fixed-vectors-bitinsert.ll) | test_bitinsert_v2ptr_b128 | -mtriple=riscv64 -O1 -verify-machineinstrs |
| fixed-vectors-bitinsert.ceb044d051.ll (mutant of fixed-vectors-bitinsert.ll) | test_bitinsert_v2ptr_b128 | -mtriple=riscv32 -mattr=+zfa -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.