fallback: translate: lshr i128

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: lshr i128 M
Occurrences:8 in 8 configs, 1 test files
Snippet from:half-convert.10cfa8a602.ll (mutant of half-convert.ll) @fcvt_wu_h_signext via llvm-extract
Config:-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -target-abi lp64
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.4 = external global i128

; Function Attrs: nounwind
define signext i32 @fcvt_wu_h_signext(half %a) #0 {
  %B = lshr i128 0, 0
  %1 = fptoui half %a to i32
  store i128 %B, ptr @G.4, align 4
  ret i32 %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -target-abi lp64 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -target-abi lp64 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: lshr: '  %B = lshr i128 0, 0' (in function: fcvt_wu_h_signext)
warning: Instruction selection used fallback path for fcvt_wu_h_signext

Occurrences (8):

InputFunctionConfig
half-convert.10cfa8a602.ll (mutant of half-convert.ll)fcvt_wu_h_signext-mtriple=riscv64 -mattr=+zhinxmin -verify-machineinstrs -target-abi lp64
half-convert.2619810d3a.ll (mutant of half-convert.ll)fcvt_wu_h_signext-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -target-abi ilp32
half-convert.3d48ee68ca.ll (mutant of half-convert.ll)fcvt_wu_h_signext-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64
half-convert.892936a302.ll (mutant of half-convert.ll)fcvt_wu_h_signext-mtriple=riscv64 -mattr=+zdinx,+zhinx -verify-machineinstrs -target-abi lp64
half-convert.8f115df1f9.ll (mutant of half-convert.ll)fcvt_wu_h_signext-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32
half-convert.a013afaf9a.ll (mutant of half-convert.ll)fcvt_wu_h_signext-mtriple=riscv32 -mattr=+zdinx,+zhinx -verify-machineinstrs -target-abi ilp32
half-convert.a43a67ebf4.ll (mutant of half-convert.ll)fcvt_wu_h_signext-mtriple=riscv32 -mattr=+zdinx,+zhinxmin -verify-machineinstrs -target-abi ilp32
half-convert.b9ce698b89.ll (mutant of half-convert.ll)fcvt_wu_h_signext-mtriple=riscv64 -mattr=+zdinx,+zhinxmin -verify-machineinstrs -target-abi lp64

Generated 2026-11-29 14:49 UTC.