[TTI] getTypeBasedIntrinsicInstrCost - add basic handling for strided load/store...
[llvm-project.git] / llvm / test / CodeGen / RISCV / rvv / memcpy-crash-zvl32b.ll
blobe020fe1a0aa1ac86d4d1895421ca411a8153b1b9
1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2 ; RUN: llc < %s -mtriple=riscv64 -mattr=+zve32x | FileCheck %s
4 ; Make sure we don't with VLEN=32.
6 define void @c() {
7 ; CHECK-LABEL: c:
8 ; CHECK:       # %bb.0: # %entry
9 ; CHECK-NEXT:    lw a0, 0(zero)
10 ; CHECK-NEXT:    sw a0, 0(zero)
11 ; CHECK-NEXT:    ret
12 entry:
13   call void @llvm.memcpy.p0.p0.i64(ptr null, ptr null, i64 4, i1 false)
14   ret void
17 declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1