fallback: translate: bitcast i128
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: bitcast i128 M |
| Occurrences: | 5 in 5 configs, 5 test files, 17 more counted only |
| Snippet from: | short-forward-branch-opt-with-branch-with-immediates_48_eq.4ea89b8fca.ll (mutant of short-forward-branch-opt-with-branch-with-immediates_48_eq.ll) @branch_with_immSFB_shl via llvm-extract |
| Config: | -verify-machineinstrs -mtriple=riscv32 -mattr=+zfinx,+xtheadba -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i32 @branch_with_immSFB_shl(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e) {
entry:
%A = alloca i128, align 8
store i128 poison, ptr %A, align 4
%x = icmp eq i32 %d, 10011
%B = shl i128 18446744073709551616, 18446744073709551616
%shli = shl i32 %a, %b
%sel = select i1 %x, i32 %shli, i32 %c
store i128 %B, ptr %A, align 4
ret i32 %sel
}
Reproduce:
llc -verify-machineinstrs -mtriple=riscv32 -mattr=+zfinx,+xtheadba -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -verify-machineinstrs -mtriple=riscv32 -mattr=+zfinx,+xtheadba -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: bitcast: ' %const = bitcast i128 18446744073709551616 to i128' (in function: branch_with_immSFB_shl)
warning: Instruction selection used fallback path for branch_with_immSFB_shl
Occurrences (5):
| Input | Function | Config |
|---|
| double-intrinsics.cfd667b2b1.ll (mutant of double-intrinsics.ll) | sin_f64 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx -O3 |
| half-bitmanip-dagcombines.830664e1b3.ll (mutant of half-bitmanip-dagcombines.ll) | fcopysign_fneg | -mtriple=riscv32 -target-abi ilp32 -verify-machineinstrs -mattr=+zhinx,+zba,+m -O2 |
| short-forward-branch-opt-load.79099074c3.ll (mutant of short-forward-branch-opt-load.ll) | test_i8_z_1_op | -verify-machineinstrs -mtriple=riscv64 -mattr=+a,+short-forward-branch-ialu,+zhinx,+c -O1 |
| short-forward-branch-opt-with-branch-with-immediates_48_eq.4ea89b8fca.ll (mutant of short-forward-branch-opt-with-branch-with-immediates_48_eq.ll) | branch_with_immSFB_shl | -verify-machineinstrs -mtriple=riscv32 -mattr=+zfinx,+xtheadba -O1 |
| smulh.a7b1adff0f.ll (mutant of smulh.ll) | smulh_v2i128 | -mtriple=riscv32 -mattr=+m,+zbkb,+zfinx -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.