brintos

brintos / llvm-project-archived public Read only

0
0
Text · 876 B · 1166b1f Raw
30 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 42; RUN: opt -S --passes=slp-vectorizer -mtriple=riscv64-unknown-linux-gnu -mattr="+v" < %s -slp-threshold=-5 | FileCheck %s3 4@h = global [16 x i64] zeroinitializer5 6define void @test() {7; CHECK-LABEL: define void @test(8; CHECK-SAME: ) #[[ATTR0:[0-9]+]] {9; CHECK-NEXT:  entry:10; CHECK-NEXT:    store <2 x i64> <i64 4294967295, i64 0>, ptr @h, align 811; CHECK-NEXT:    ret void12;13entry:14  %sext.0 = sext i8 0 to i3215  %sext.1 = sext i8 0 to i3216 17  %lshr.0 = lshr i32 0, %sext.018  %lshr.1 = lshr i32 0, %sext.119 20  %or.0 = or i32 %lshr.0, -121  %or.1 = or i32 %lshr.1, 022 23  %zext.0 = zext i32 %or.0 to i6424  %zext.1 = zext i32 %or.1 to i6425 26  store i64 %zext.0, ptr @h, align 827  store i64 %zext.1, ptr getelementptr inbounds ([16 x i64], ptr @h, i64 0, i64 1), align 828  ret void29}30