fallback: translate: icmp <vscale x 1 x i1>
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | translate: icmp <vscale x 1 x i1> NEW |
| Occurrences: | 4 in 2 configs, 1 test files |
| Snippet from: | inline-asm-v-constraint.2495f6b8a5.ll (mutant of inline-asm-v-constraint.ll) @constraint_vm via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <2 x i1>
; Function Attrs: nounwind
define <vscale x 1 x i1> @constraint_vm(<vscale x 1 x i1> %0, <vscale x 1 x i1> %1) #0 {
%C = icmp ule <vscale x 1 x i1> %0, splat (i1 true)
%C1 = icmp ule <2 x i64> splat (i64 9223372036854775807), splat (i64 4294967296)
%a = tail call <vscale x 1 x i1> asm "vadd.vv $0, $1, $2", "=^vr,^vr,^vm"(<vscale x 1 x i1> %0, <vscale x 1 x i1> %1)
store <2 x i1> %C1, ptr @G, align 1
ret <vscale x 1 x i1> %C
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: icmp: ' %C = icmp ule <vscale x 1 x i1> %0, splat (i1 true)' (in function: constraint_vm)
warning: Instruction selection used fallback path for constraint_vm
Occurrences (4):
| Input | Function | Config |
|---|
| inline-asm-v-constraint.2495f6b8a5.ll (mutant of inline-asm-v-constraint.ll) | constraint_vm | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| inline-asm-v-constraint.3ddff9f4f3.ll (mutant of inline-asm-v-constraint.ll) | constraint_vm | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| inline-asm-v-constraint.6f9f535b34.ll (mutant of inline-asm-v-constraint.ll) | constraint_vm | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| inline-asm-v-constraint.cc4a3f41a2.ll (mutant of inline-asm-v-constraint.ll) | constraint_vm | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.