summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2016-08-02 17:19:35 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2016-08-02 17:19:35 +0000
commit0d020190dddfef056b26cc1585ba0c097546a2fa (patch)
treed62fb958dd243dff0031be3d650d52603f5741ff /llvm/test
parentde4be653137b06081167584ef9fbf43b80e85a16 (diff)
downloadbcm5719-llvm-0d020190dddfef056b26cc1585ba0c097546a2fa.tar.gz
bcm5719-llvm-0d020190dddfef056b26cc1585ba0c097546a2fa.zip
[AArch64][GlobalISel] Add REQUIRES: global-isel to verifier tests.
I thought the directory had a lit.local.cfg, but it doesn't. I'll add one, but for now, add the REQUIRES line. While there, move the triple into the IR and add a datalayout. llvm-svn: 277486
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/AArch64/GlobalISel/verify-regbankselected.mir5
-rw-r--r--llvm/test/CodeGen/AArch64/GlobalISel/verify-selected.mir5
2 files changed, 8 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/verify-regbankselected.mir b/llvm/test/CodeGen/AArch64/GlobalISel/verify-regbankselected.mir
index 99a3fab3040..08196e41708 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/verify-regbankselected.mir
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/verify-regbankselected.mir
@@ -1,7 +1,10 @@
-# RUN: not llc -mtriple aarch64-- -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
+# RUN: not llc -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
+# REQUIRES: global-isel
--- |
+ target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
+ target triple = "aarch64--"
define void @test() { ret void }
...
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/verify-selected.mir b/llvm/test/CodeGen/AArch64/GlobalISel/verify-selected.mir
index 87f8876a719..dde38df1c6f 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/verify-selected.mir
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/verify-selected.mir
@@ -1,7 +1,10 @@
-# RUN: not llc -mtriple aarch64-- -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
+# RUN: not llc -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
+# REQUIRES: global-isel
--- |
+ target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
+ target triple = "aarch64--"
define void @test() { ret void }
...
OpenPOWER on IntegriCloud