[X86][AVX512] Add rcp14 and rsqrt14 intrinsics
[oota-llvm.git] / test / CodeGen / Hexagon / store-widen-negv2.ll
1 ; RUN: llc -march=hexagon < %s | FileCheck %s
2 ; CHECK-LABEL: foo:
3 ; CHECK: memh(r0+#0){{.*}}={{.*}}#-2
4 ; Don't use memh(r0+#0)=##65534.
5
6 target datalayout = "e-m:e-p:32:32-i1:32-i64:64-a:0-v32:32-n16:32"
7 target triple = "hexagon"
8
9 ; Function Attrs: nounwind
10 define void @foo(i16* nocapture %s) #0 {
11 entry:
12   %0 = bitcast i16* %s to i8*
13   store i8 -2, i8* %0, align 2
14   %add.ptr = getelementptr inbounds i8, i8* %0, i32 1
15   store i8 -1, i8* %add.ptr, align 1
16   ret void
17 }
18
19 attributes #0 = { nounwind }