R600/SI: Add global atomicrmw and
[oota-llvm.git] / test / CodeGen / AArch64 / addsub_ext.ll
index 2dd16626ea9f2fb7f853164d7d8d5050884be5e7..ceea8a08eceeb50af97fc20f1050b82168f94760 100644 (file)
@@ -1,12 +1,12 @@
-; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
+; RUN: llc -verify-machineinstrs %s -o - -mtriple=aarch64-linux-gnu -aarch64-atomic-cfg-tidy=0 | FileCheck %s
 
 @var8 = global i8 0
 @var16 = global i16 0
 @var32 = global i32 0
 @var64 = global i64 0
 
-define void @addsub_i8rhs() {
-; CHECK: addsub_i8rhs:
+define void @addsub_i8rhs() minsize {
+; CHECK-LABEL: addsub_i8rhs:
     %val8_tmp = load i8* @var8
     %lhs32 = load i32* @var32
     %lhs64 = load i64* @var64
@@ -80,8 +80,8 @@ end:
     ret void
 }
 
-define void @addsub_i16rhs() {
-; CHECK: addsub_i16rhs:
+define void @addsub_i16rhs() minsize {
+; CHECK-LABEL: addsub_i16rhs:
     %val16_tmp = load i16* @var16
     %lhs32 = load i32* @var32
     %lhs64 = load i64* @var64
@@ -158,8 +158,8 @@ end:
 ; N.b. we could probably check more here ("add w2, w3, w1, uxtw" for
 ; example), but the remaining instructions are probably not idiomatic
 ; in the face of "add/sub (shifted register)" so I don't intend to.
-define void @addsub_i32rhs() {
-; CHECK: addsub_i32rhs:
+define void @addsub_i32rhs() minsize {
+; CHECK-LABEL: addsub_i32rhs:
     %val32_tmp = load i32* @var32
     %lhs64 = load i64* @var64
 
@@ -186,4 +186,4 @@ define void @addsub_i32rhs() {
 ; CHECK: add {{x[0-9]+}}, {{x[0-9]+}}, {{w[0-9]+}}, sxtw #2
 
     ret void
-}
\ No newline at end of file
+}