fallback: translate: call llvm.bswap.nxv4i32

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: call llvm.bswap.nxv4i32
Occurrences:12 in 8 configs, 2 test files
Snippet from:bswap-sdnode.ll @bswap_nxv4i32 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x i32> @bswap_nxv4i32(<vscale x 4 x i32> %va) {
  %a = call <vscale x 4 x i32> @llvm.bswap.nxv4i32(<vscale x 4 x i32> %va)
  ret <vscale x 4 x i32> %a
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 4 x i32> @llvm.bswap.nxv4i32(<vscale x 4 x i32>) #0

attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.bswap.nxv4i32: '  %a = call <vscale x 4 x i32> @llvm.bswap.nxv4i32(<vscale x 4 x i32> %va)' (in function: bswap_nxv4i32)
warning: Instruction selection used fallback path for bswap_nxv4i32

Occurrences (12):

InputFunctionConfig
bswap-sdnode.llbswap_nxv4i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
bswap-sdnode.llbswap_nxv4i32-mtriple=riscv32 -mattr=+v,+zvkb -verify-machineinstrs
bswap-sdnode.llbswap_nxv4i32-mtriple=riscv64 -mattr=+v -verify-machineinstrs
bswap-sdnode.llbswap_nxv4i32-mtriple=riscv64 -mattr=+v,+zvkb -verify-machineinstrs
bswap-sdnode.223e7c30b3.ll (mutant of bswap-sdnode.ll)bswap_nxv4i32-mtriple=riscv32 -mattr=+v,+zvkb -verify-machineinstrs
bswap-sdnode.40fff9cb35.ll (mutant of bswap-sdnode.ll)bswap_nxv4i32-mtriple=riscv64 -mattr=+v,+zvkb -verify-machineinstrs
bswap-sdnode.4b19813170.ll (mutant of bswap-sdnode.ll)bswap_nxv4i32-mtriple=riscv64 -mattr=+v -verify-machineinstrs
bswap-sdnode.d470d56ed6.ll (mutant of bswap-sdnode.ll)bswap_nxv4i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
bswap-vp.0723916e0c.ll (mutant of bswap-vp.ll)vp_bswap_nxv4i32-mtriple=riscv32 -mattr=+v,+zvkb,+m -target-abi=ilp32d -verify-machineinstrs
bswap-vp.600a1b765b.ll (mutant of bswap-vp.ll)vp_bswap_nxv4i32-mtriple=riscv64 -mattr=+v,+m -target-abi=lp64d -verify-machineinstrs
bswap-vp.ab96468150.ll (mutant of bswap-vp.ll)vp_bswap_nxv4i32-mtriple=riscv64 -mattr=+v,+zvkb,+m -target-abi=lp64d -verify-machineinstrs
bswap-vp.da3eb5b080.ll (mutant of bswap-vp.ll)vp_bswap_nxv4i32-mtriple=riscv32 -mattr=+v,+m -target-abi=ilp32d -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.