OSDN Git Service

[AArch64][GlobalISel] Add REQUIRES: global-isel to verifier tests.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 2 Aug 2016 17:19:35 +0000 (17:19 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 2 Aug 2016 17:19:35 +0000 (17:19 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277486 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/AArch64/GlobalISel/verify-regbankselected.mir
test/CodeGen/AArch64/GlobalISel/verify-selected.mir

index 99a3fab..08196e4 100644 (file)
@@ -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 }
 
 ...
index 87f8876..dde38df 100644 (file)
@@ -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 }
 
 ...