[PATCH] D36282: Move unit test to the proper location

Taewook Oh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 14:08:01 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL309985: Move unit test to the proper location (authored by twoh).

Changed prior to commit:
  https://reviews.llvm.org/D36282?vs=109620&id=109631#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D36282

Files:
  llvm/trunk/test/CodeGen/AArch64/GlobalISel/reg-bank-128bit.mir
  llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir


Index: llvm/trunk/test/CodeGen/AArch64/GlobalISel/reg-bank-128bit.mir
===================================================================
--- llvm/trunk/test/CodeGen/AArch64/GlobalISel/reg-bank-128bit.mir
+++ llvm/trunk/test/CodeGen/AArch64/GlobalISel/reg-bank-128bit.mir
@@ -0,0 +1,21 @@
+# RUN: llc -mtriple=aarch64 -global-isel -run-pass=regbankselect -o - %s | FileCheck %s
+---
+name:            test_large_merge
+legalized:       true
+registers:
+body: |
+  bb.0.entry:
+    liveins: %x0, %x1, %x2
+
+    ; CHECK-LABEL: name: test_large_merge
+    ; CHECK: registers:
+    ; CHECK:       - { id: 0, class: gpr
+    ; CHECK:       - { id: 1, class: gpr
+    ; CHECK:       - { id: 2, class: gpr
+    ; CHECK:       - { id: 3, class: fpr
+    %0:_(s64) = COPY %x0
+    %1:_(s64) = COPY %x1
+    %2:_(p0) = COPY %x2
+    %3:_(s128) = G_MERGE_VALUES %0, %1
+    %d0 = COPY %3
+...
Index: llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir
===================================================================
--- llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir
+++ llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir
@@ -1,21 +0,0 @@
-# RUN: llc -mtriple=aarch64 -global-isel -run-pass=regbankselect -o - %s | FileCheck %s
----
-name:            test_large_merge
-legalized:       true
-registers:
-body: |
-  bb.0.entry:
-    liveins: %x0, %x1, %x2
-
-    ; CHECK-LABEL: name: test_large_merge
-    ; CHECK: registers:
-    ; CHECK:       - { id: 0, class: gpr
-    ; CHECK:       - { id: 1, class: gpr
-    ; CHECK:       - { id: 2, class: gpr
-    ; CHECK:       - { id: 3, class: fpr
-    %0:_(s64) = COPY %x0
-    %1:_(s64) = COPY %x1
-    %2:_(p0) = COPY %x2
-    %3:_(s128) = G_MERGE_VALUES %0, %1
-    %d0 = COPY %3
-...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36282.109631.patch
Type: text/x-patch
Size: 1735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170803/c8432147/attachment.bin>


More information about the llvm-commits mailing list