fallback: translate: call llvm.vp.load.nxv2f32.p0

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:translate: call llvm.vp.load.nxv2f32.p0
Occurrences:40 in 6 configs, 2 test files
Snippet from:vp-combine-reverse-load.ll @test_reverse_load_combiner via llvm-extract
Config:-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 2 x float> @test_reverse_load_combiner(ptr %ptr, i32 zeroext %evl) {
  %load = call <vscale x 2 x float> @llvm.vp.load.nxv2f32.p0(ptr %ptr, <vscale x 2 x i1> splat (i1 true), i32 %evl)
  %rev = call <vscale x 2 x float> @llvm.experimental.vp.reverse.nxv2f32(<vscale x 2 x float> %load, <vscale x 2 x i1> splat (i1 true), i32 %evl)
  ret <vscale x 2 x float> %rev
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 2 x float> @llvm.experimental.vp.reverse.nxv2f32(<vscale x 2 x float>, <vscale x 2 x i1>, i32) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 2 x float> @llvm.vp.load.nxv2f32.p0(ptr captures(none), <vscale x 2 x i1>, i32) #1

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv2f32.p0: '  %load = call <vscale x 2 x float> @llvm.vp.load.nxv2f32.p0(ptr %ptr, <vscale x 2 x i1> splat (i1 true), i32 %evl)' (in function: test_reverse_load_combiner)
warning: Instruction selection used fallback path for test_reverse_load_combiner

Occurrences (40) (first 15):

InputFunctionConfig
vp-combine-reverse-load.lltest_reverse_load_combiner-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.lltest_load_mask_not_all_one-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.lltest_load_reverse_mask_not_all_one-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.lltest_reverse_load_combiner_splice-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.lltest_different_evl_splice-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.llbinop-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.llbinop_2uses_1user-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.llbinop_chain-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.llbinop_nested-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.llbinop_2loads-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.llbinop_nonsplat-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.llbinop_multiuse-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.llbinop_shared_splat-mtriple=riscv32 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.lltest_reverse_load_combiner-mtriple=riscv64 -mattr=+f,+v -verify-machineinstrs
vp-combine-reverse-load.lltest_load_mask_not_all_one-mtriple=riscv64 -mattr=+f,+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.