fallback: translate: bitcast ptr

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: bitcast ptr M
Occurrences:7 in 7 configs, 7 test files, 255 more counted only
Snippet from:constantpool.d740dffb4c.ll (mutant of constantpool.ll) @constpool_f32_1234_5 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @constpool_f32_1234_5(ptr %p) {
  %G = getelementptr ptr, ptr %p, i64 0
  store float 1.234500e+03, ptr %G, align 4
  ret void
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: bitcast: '  %G1 = bitcast ptr %p to ptr' (in function: constpool_f32_1234_5)
warning: Instruction selection used fallback path for constpool_f32_1234_5

Occurrences (7):

InputFunctionConfig
atomic-load-store.886ecc3736.ll (mutant of atomic-load-store.ll)atomic_store_i32_unordered-mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+no-trailing-seq-cst-fence,+zfinx -O3
calling-conv-ilp32e.e8067437eb.ll (mutant of calling-conv-ilp32e.ll)callee_large_struct_ret-mtriple=riscv32 -target-abi ilp32e -frame-pointer=all -verify-machineinstrs -mattr=+zdinx,+c -O1
constantpool.d740dffb4c.ll (mutant of constantpool.ll)constpool_f32_1234_5-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1
forced-atomics.36f4d059df.ll (mutant of forced-atomics.ll)rmw32_umin_seq_cst-mtriple=riscv32 -mattr=+no-trailing-seq-cst-fence,+a,+zfinx -O2 -verify-machineinstrs
half-imm.067ba597ce.ll (mutant of half-imm.ll)half_negative_zero-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin -O1
unaligned-load-store.7eda280918.ll (mutant of unaligned-load-store.ll)store_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+unaligned-scalar-mem,+zicond,+zdinx -O1
xaluo.9b5e8a5b6d.ll (mutant of xaluo.ll)saddo1.i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zicond,+zfinx -O1

Generated 2026-11-29 14:49 UTC.