fallback: translate: mul i1
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: mul i1 M |
| Occurrences: | 4 in 4 configs, 4 test files, 17 more counted only |
| Snippet from: | sext-zext-trunc.a235b0013b.ll (mutant of sext-zext-trunc.ll) @zext_i1_to_i64 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i64 @zext_i1_to_i64(i1 %a) #0 {
%B = mul i1 %a, true
%1 = zext i1 %B to i64
ret i64 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: mul: ' %B = mul i1 %a, true' (in function: zext_i1_to_i64)
warning: Instruction selection used fallback path for zext_i1_to_i64
Occurrences (4):
| Input | Function | Config |
|---|
| min-max.ed19adb30d.ll (mutant of min-max.ll) | smin_i64 | -mtriple=riscv64 -mattr=+zfinx,+zve32x -O0 -verify-machineinstrs |
| neg-abs.810d88949d.ll (mutant of neg-abs.ll) | neg_abs64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1 |
| rv64-half-convert-strict.8355f4d45d.ll (mutant of rv64-half-convert-strict.ll) | uitofp_i128_to_f16 | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinx -O2 |
| sext-zext-trunc.a235b0013b.ll (mutant of sext-zext-trunc.ll) | zext_i1_to_i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O0 |
Generated 2026-11-29 14:49 UTC.