fallback: translate: shl <N x i64>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: shl <N x i64> M
Occurrences:3 in 3 configs, 3 test files, 9 more counted only
Snippet from:atomic-load-zext.20a3b8cf30.ll (mutant of atomic-load-zext.ll) @atomic_load_i32_seq_cst via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+ztso,+zfinx -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global <2 x i64>

; Function Attrs: nounwind
define zeroext i32 @atomic_load_i32_seq_cst(ptr %a) #0 {
  %B = shl <2 x i64> splat (i64 1), zeroinitializer
  %1 = load atomic i32, ptr %a seq_cst, align 4
  store <2 x i64> %B, ptr @G.3, align 16
  ret i32 %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+ztso,+zfinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+ztso,+zfinx -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: shl: '  %B = shl <2 x i64> splat (i64 1), zeroinitializer' (in function: atomic_load_i32_seq_cst)
warning: Instruction selection used fallback path for atomic_load_i32_seq_cst

Occurrences (3):

InputFunctionConfig
atomic-load-zext.20a3b8cf30.ll (mutant of atomic-load-zext.ll)atomic_load_i32_seq_cst-mtriple=riscv32 -verify-machineinstrs -mattr=+ztso,+zfinx -O1
half-mem.948f6f855c.ll (mutant of half-mem.ll)fsh_stack-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+zve32x,+zicond -O0 -code-model=small
zicond-fp-select-zfinx.db9eeecbf9.ll (mutant of zicond-fp-select-zfinx.ll)select_i1_f32_0-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zicond -O0

Generated 2026-11-29 14:49 UTC.