1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
2 ; RUN: llc < %s -mtriple riscv64 -mattr=+zve64x | FileCheck %s
4 define void @bar(ptr %p) {
7 ; CHECK-NEXT: sd zero, 0(a0)
8 ; CHECK-NEXT: sd zero, 8(a0)
10 %v = insertelement <64 x i64> zeroinitializer, i64 0, i32 0
11 %trunc = trunc <64 x i64> %v to <64 x i1>
12 %p1 = getelementptr i8, ptr %p, i32 0
13 %p2 = getelementptr i8, ptr %p, i32 8
14 store <64 x i1> %trunc, ptr %p1
15 store <8 x i8> zeroinitializer, ptr %p2