fallback: translate: mul i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: mul i8 M |
| Occurrences: | 6 in 6 configs, 5 test files, 40 more counted only |
| Snippet from: | atomic-cmpxchg.0e15b8a270.ll (mutant of atomic-cmpxchg.ll) @cmpxchg_i8_acquire_acquire via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zdinx -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define void @cmpxchg_i8_acquire_acquire(ptr %ptr, i8 %cmp, i8 %val) #0 {
%B = mul i8 %val, %cmp
%res = cmpxchg ptr %ptr, i8 %cmp, i8 %val acquire acquire, align 1
store i8 %B, ptr poison, align 1
ret void
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zdinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zdinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: mul: ' %B = mul i8 %val, %cmp' (in function: cmpxchg_i8_acquire_acquire)
warning: Instruction selection used fallback path for cmpxchg_i8_acquire_acquire
Occurrences (6):
| Input | Function | Config |
|---|
| atomic-cmpxchg.0e15b8a270.ll (mutant of atomic-cmpxchg.ll) | cmpxchg_i8_acquire_acquire | -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zdinx -O2 |
| double-round-conv.0ae4aff822.ll (mutant of double-round-conv.ll) | test_floor_ui8 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx -O0 |
| mul.f8ce9a8574.ll (mutant of mul.ll) | muladd_demand_2 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zve32x,+zfinx -O0 |
| sadd_sat_plus.1ea978a67b.ll (mutant of sadd_sat_plus.ll) | func8 | -mtriple=riscv64 -mattr=+m,+zbb,+zvkb,+zfinx -O1 -verify-machineinstrs |
| sadd_sat_plus.ba0327e19e.ll (mutant of sadd_sat_plus.ll) | func8 | -mtriple=riscv64 -mattr=+m,+zbb,+zdinx,+zvbb -O0 -verify-machineinstrs |
| xaluo.41469136d3.ll (mutant of xaluo.ll) | usubo.i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zicond,+zfinx -O2 |
Generated 2026-11-29 14:49 UTC.