Saleem Abdulrasool | 7258735 | 2014-04-03 16:01:44 +0000 | [diff] [blame] | 1 | ; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s |
Bill Wendling | 3b1459b | 2011-03-01 01:00:59 +0000 | [diff] [blame] | 2 | |
| 3 | ; <rdar://problem/9055897> |
| 4 | define <4 x i16> @t1(<4 x i32> %a) nounwind { |
| 5 | entry: |
| 6 | ; CHECK: vqrshrn.s32 d{{[0-9]+}}, q{{[0-9]*}}, #13 |
| 7 | %x = tail call <4 x i16> @llvm.arm.neon.vqrshiftns.v4i16(<4 x i32> %a, <4 x i32> <i32 -13, i32 -13, i32 -13, i32 -13>) |
| 8 | ret <4 x i16> %x |
| 9 | } |
| 10 | |
| 11 | declare <4 x i16> @llvm.arm.neon.vqrshiftns.v4i16(<4 x i32>, <4 x i32>) nounwind readnone |