fallback: legalize: G_XOR <N x i1>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_XOR <N x i1> M |
| Occurrences: | 3 in 2 configs, 1 test files, 6 more counted only |
| Snippet from: | mask-exts-not.3e1cdfe643.ll (mutant of mask-exts-not.ll) @mask_sext_not_v8i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+c -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i1
define <8 x i8> @mask_sext_not_v8i8(<8 x i1> %m) {
%C = icmp sle i1 false, true
%not = xor <8 x i1> %m, splat (i1 true)
%ext = sext <8 x i1> %not to <8 x i8>
store i1 %C, ptr @G, align 1
ret <8 x i8> %ext
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+c -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+c -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %7:_(<8 x i1>) = G_XOR %0:_, %6:_ (in function: mask_sext_not_v8i8)
warning: Instruction selection used fallback path for mask_sext_not_v8i8
Occurrences (3):
| Input | Function | Config |
|---|
| mask-exts-not.3e1cdfe643.ll (mutant of mask-exts-not.ll) | mask_sext_not_v8i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+c -O2 |
| mask-exts-not.f8865101af.ll (mutant of mask-exts-not.ll) | mask_sext_xor_v8i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zve32x -O1 |
| mask-exts-not.f8865101af.ll (mutant of mask-exts-not.ll) | mask_zext_xor_v8i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zve32x -O1 |
Generated 2026-11-29 14:49 UTC.