Mercurial > hg > Members > tobaru > cbc > CbC_llvm
diff test/CodeGen/Hexagon/vect/vect-vaddh-1.ll @ 95:afa8332a0e37
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/CodeGen/Hexagon/vect/vect-vaddh-1.ll Tue Oct 13 17:48:58 2015 +0900 @@ -0,0 +1,8 @@ +; RUN: llc -march=hexagon < %s | FileCheck %s +; CHECK: vaddh + +define <4 x i16> @t_i4x16(<4 x i16> %a, <4 x i16> %b) nounwind { +entry: + %0 = add <4 x i16> %a, %b + ret <4 x i16> %0 +}