fallback: translate: load <N x i1>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: load <N x i1> M |
| Occurrences: | 4 in 4 configs, 4 test files, 20 more counted only |
| Snippet from: | poison-legalization.7c10905d22.ll (mutant of poison-legalization.ll) @PromoteHalf via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zfinx -O0 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <2 x i64>
@G.1 = external global <2 x i1>
@G.4 = external global <2 x i1>
define void @PromoteHalf(ptr %p1) {
entry:
%LGV2 = load <2 x i1>, ptr @G.4, align 1
%LGV = load <2 x i64>, ptr @G, align 16
store volatile half poison, ptr %p1, align 2
%C = icmp slt <2 x i64> %LGV, splat (i64 9223372036854775807)
%G = getelementptr ptr, ptr %p1, i16 -1
%B = sdiv <2 x i1> %C, %LGV2
store <2 x i1> %C, ptr @G.1, align 1
store <2 x i1> %B, ptr @G.1, align 1
store ptr %G, ptr poison, align 8
ret void
}
Reproduce:
llc -mtriple=riscv32 -mattr=+zfinx -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zfinx -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: load: ' %LGV2 = load <2 x i1>, ptr @G.4, align 1' (in function: PromoteHalf)
warning: Instruction selection used fallback path for PromoteHalf
Occurrences (4):
| Input | Function | Config |
|---|
| combine-reduce-add-to-vcpop.4e2728a4d1.ll (mutant of combine-reduce-add-to-vcpop.ll) | test_v4i1 | -mtriple=riscv64 -mattr=+zve32x,+zvl128b,+zbb,+zfinx -O1 -verify-machineinstrs |
| debug-line.deef6466ce.ll (mutant of debug-line.ll) | foo | -mtriple=riscv64 -mattr=+zfinx -O2 -code-model=small -verify-machineinstrs |
| pic-models.541eed7a43.ll (mutant of pic-models.ll) | f2 | -mtriple=riscv32 -relocation-model=pic -mattr=+zdinx -O3 -verify-machineinstrs |
| poison-legalization.7c10905d22.ll (mutant of poison-legalization.ll) | PromoteHalf | -mtriple=riscv32 -mattr=+zfinx -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.