fallback: translate: shl i128

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: shl i128 M
Occurrences:4 in 4 configs, 4 test files, 21 more counted only
Snippet from:atomic-fence.373243e0f6.ll (mutant of atomic-fence.ll) @fence_acq_rel via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+ztso,+zhinx -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i128

; Function Attrs: nounwind
define void @fence_acq_rel() #0 {
  %B = shl i128 1, 170141183460469231731687303715884105727
  fence acq_rel
  store i128 %B, ptr @G, align 4
  ret void
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
atomic-fence.373243e0f6.ll (mutant of atomic-fence.ll)fence_acq_rel-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+ztso,+zhinx -O3
rotl-rotr.07f7351981.ll (mutant of rotl-rotr.ll)rotr_32_mask-mtriple=riscv64 -verify-machineinstrs -enable-legalize-types-checking -mattr=+zdinx -O0
split-udiv-by-constant.680d944e93.ll (mutant of split-udiv-by-constant.ll)test_udiv_37_shl_XL-mtriple=riscv64 -mattr=+m,+zdinx -O0 -verify-machineinstrs
usub_sat_plus.1361de139d.ll (mutant of usub_sat_plus.ll)func32-mtriple=riscv64 -mattr=+zbb,+zfinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.