fallback: translate: zext i32

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: zext i32 M
Occurrences:12 in 12 configs, 9 test files, 67 more counted only
Snippet from:split-store.b1a59837a7.ll (mutant of split-store.ll) @int32_int32_pair via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @int32_int32_pair(i32 %tmp1, i32 %tmp2, ptr %ref.tmp) {
  %t1 = zext i32 %tmp2 to i64
  %t2 = shl nuw i64 %t1, 32
  %B = lshr i32 %tmp1, %tmp2
  %t3 = zext i32 %B to i64
  %t4 = or i64 %t2, %t3
  store i64 %t4, ptr %ref.tmp, align 8
  ret void
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: zext: '  %t1 = zext i32 %tmp2 to i64' (in function: int32_int32_pair)
warning: Instruction selection used fallback path for int32_int32_pair

Occurrences (12):

InputFunctionConfig
abdu.3201fabb3a.ll (mutant of abdu.ll)abd_ext_i32_undef-mtriple=riscv32 -mattr=+zhinx,+zbb -O1 -verify-machineinstrs
clmul.603c65aae1.ll (mutant of clmul.ll)clmul_i64_zext-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O2
clmul.b698ad1199.ll (mutant of clmul.ll)clmul_i64_zext-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zbs -O0
clmulh.79f0fbdc57.ll (mutant of clmulh.ll)clmulh_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbs,+zba,+zdinx -O1
clmulr.672fcc4a82.ll (mutant of clmulr.ll)clmulr_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx -O3
clmulr.725a5c8d31.ll (mutant of clmulr.ll)clmulr_i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3 -code-model=small
rotl-rotr.30c134dcf5.ll (mutant of rotl-rotr.ll)rotl_64_zext-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zhinx -O1
rv64zbkb.5e8f1976dd.ll (mutant of rv64zbkb.ll)pack_i64_2-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbkb,+zhinx -O2 -code-model=small
shifts.2bf2d9848d.ll (mutant of shifts.ll)shl64_shamt32-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0
shifts.3d77260b23.ll (mutant of shifts.ll)lshr64_shamt32-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3 -code-model=small
split-store.b1a59837a7.ll (mutant of split-store.ll)int32_int32_pair-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3
zilx.24df7b828a.ll (mutant of zilx.ll)lxsuwwu-mtriple=riscv64 -verify-machineinstrs -mattr=+zba,+experimental-zilx,+zdinx -O3

Generated 2026-11-29 14:49 UTC.