brintos

brintos / llvm-project-archived public Read only

0
0
Text · 719 B · 473a492 Raw
25 lines · plain
1; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s2; PR113193 4@i8_res  = global <2 x i8> <i8 0, i8 0>5@i8_src1 = global <2 x i8> <i8 1, i8 2>6@i8_src2 = global <2 x i8> <i8 2, i8 1>7 8define void @test_neon_vector_add_2xi8() nounwind {9; CHECK-LABEL: test_neon_vector_add_2xi8:10  %1 = load <2 x i8>, ptr @i8_src111  %2 = load <2 x i8>, ptr @i8_src212  %3 = add <2 x i8> %1, %213  store <2 x i8> %3, ptr @i8_res14  ret void15}16 17define void @test_neon_ld_st_volatile_with_ashr_2xi8() {18; CHECK-LABEL: test_neon_ld_st_volatile_with_ashr_2xi8:19  %1 = load volatile <2 x i8>, ptr @i8_src120  %2 = load volatile <2 x i8>, ptr @i8_src221  %3 = ashr <2 x i8> %1, %222  store volatile <2 x i8> %3, ptr @i8_res23  ret void24}25