brintos

brintos / llvm-project-archived public Read only

0
0
Text · 424 B · f515669 Raw
11 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s2 3define void @test(ptr %P) {4; CHECK: vspltish {{[0-9]+}}, 105        %tmp = load <8 x i16>, ptr %P               ; <<8 x i16>> [#uses=1]6        %tmp1 = add <8 x i16> %tmp, < i16 10, i16 10, i16 10, i16 10, i16 10, i16 10, i16 10, i16 10 >          ; <<8 x i16>> [#uses=1]7        store <8 x i16> %tmp1, ptr %P8        ret void9}10 11