| ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5 |
| ; RUN: llc < %s -mtriple=riscv64 -mattr=+zve32x | FileCheck %s |
| |
| ; Make sure we don't with VLEN=32. |
| |
| define void @c() { |
| ; CHECK-LABEL: c: |
| ; CHECK: # %bb.0: # %entry |
| ; CHECK-NEXT: lw a0, 0(zero) |
| ; CHECK-NEXT: sw a0, 0(zero) |
| ; CHECK-NEXT: ret |
| entry: |
| call void @llvm.memcpy.p0.p0.i64(ptr null, ptr null, i64 4, i1 false) |
| ret void |
| } |
| |
| declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 |