fallback: select: G_STORE s64,p0,s32
| Run: | main-04ca53e65f-20261014-113325 |
| Kind: | fallback |
| Category: | select: G_STORE s64,p0,s32 NEW |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | float-bit-preserving-dagcombines.3420fcaf8f.ll (mutant of float-bit-preserving-dagcombines.ll) @bitcast_double_or via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+f,+d -target-abi=lp64 -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i64
; Function Attrs: nounwind
define double @bitcast_double_or(double %a1, double %a2) #0 {
%a3 = fmul double %a1, %a2
%bc1 = bitcast double %a3 to i64
%and = or i64 %bc1, -9223372036854775808
%bc2 = bitcast i64 %and to double
%a4 = fmul double %a1, %bc2
store i64 %bc1, ptr @G, align 4
ret double %a4
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+f,+d -target-abi=lp64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+f,+d -target-abi=lp64 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: cannot select: G_STORE %7:fprb(s64), %6:gpr(p0) :: (store (s32) into @G) (in function: bitcast_double_or)
warning: Instruction selection used fallback path for bitcast_double_or
Occurrences (1):
| Input | Function | Config |
|---|
| float-bit-preserving-dagcombines.3420fcaf8f.ll (mutant of float-bit-preserving-dagcombines.ll) | bitcast_double_or | -mtriple=riscv64 -mattr=+f,+d -target-abi=lp64 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.