[llvm] r309985 - Move unit test to the proper location

Taewook Oh via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 14:07:12 PDT 2017


Author: twoh
Date: Thu Aug  3 14:07:12 2017
New Revision: 309985

URL: http://llvm.org/viewvc/llvm-project?rev=309985&view=rev
Log:
Move unit test to the proper location

Summary: Move test/CodeGen/AArch64/reg-bank-128bit.mir to test/CodeGen/AArch64/GlobalISel/reg-bank-128bit.mir so that the test is executed only when global-isel is enabled. lit.local.cfg under test/CodeGen/AArch64/GlobalISel checks if 'global-isel' is in the available_features while the same file under test/CodeGen/AArch64 doesn't.

Reviewers: qcolombet, davide

Reviewed By: davide

Subscribers: davide, aemerson, javed.absar, igorb, kristof.beyls, llvm-commits

Differential Revision: https://reviews.llvm.org/D36282

Added:
    llvm/trunk/test/CodeGen/AArch64/GlobalISel/reg-bank-128bit.mir
      - copied, changed from r309983, llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir
Removed:
    llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir

Copied: llvm/trunk/test/CodeGen/AArch64/GlobalISel/reg-bank-128bit.mir (from r309983, llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/GlobalISel/reg-bank-128bit.mir?p2=llvm/trunk/test/CodeGen/AArch64/GlobalISel/reg-bank-128bit.mir&p1=llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir&r1=309983&r2=309985&rev=309985&view=diff
==============================================================================
    (empty)

Removed: llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir?rev=309984&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir (original)
+++ llvm/trunk/test/CodeGen/AArch64/reg-bank-128bit.mir (removed)
@@ -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
-...




More information about the llvm-commits mailing list