fallback: translate: zext <N x i64>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: zext <N x i64> M
Occurrences:4 in 4 configs, 4 test files, 15 more counted only
Snippet from:fixed-vectors-vaaddu.10ff09b521.ll (mutant of fixed-vectors-vaaddu.ll) @vaaddu_vx_v8i64_floor via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

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

define <8 x i64> @vaaddu_vx_v8i64_floor(<8 x i64> %x, i64 %y) {
  %xzv = zext <8 x i64> %x to <8 x i128>
  %yhead = insertelement <8 x i64> poison, i64 %y, i64 0
  %ysplat = shufflevector <8 x i64> %yhead, <8 x i64> poison, <8 x i32> zeroinitializer
  %yzv = zext <8 x i64> %ysplat to <8 x i128>
  %B = shl <8 x i64> %yhead, %ysplat
  %add = add nuw nsw <8 x i128> %xzv, %yzv
  %div = lshr <8 x i128> %add, splat (i128 1)
  %ret = trunc <8 x i128> %div to <8 x i64>
  store <8 x i64> %B, ptr @G.2, align 64
  ret <8 x i64> %ret
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: zext: '  %xzv = zext <8 x i64> %x to <8 x i128>' (in function: vaaddu_vx_v8i64_floor)
warning: Instruction selection used fallback path for vaaddu_vx_v8i64_floor

Occurrences (4):

InputFunctionConfig
clmulh.165d663f4e.ll (mutant of clmulh.ll)commutative_clmulh_v2i64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zdinx -O0
clmulr.5ca9ade9cd.ll (mutant of clmulr.ll)commutative_clmulr_v2i64-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx -O2 -code-model=medium
fixed-vectors-clmulh.685d20d797.ll (mutant of fixed-vectors-clmulh.ll)clmulh_v1i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2 -code-model=small
fixed-vectors-vaaddu.10ff09b521.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vx_v8i64_floor-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1

Generated 2026-11-29 14:49 UTC.