[llvm] r288899 - [AVR] Move a pseudo expansion test into a folder

Dylan McKay via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 03:21:45 PST 2016


Author: dylanmckay
Date: Wed Dec  7 05:21:45 2016
New Revision: 288899

URL: http://llvm.org/viewvc/llvm-project?rev=288899&view=rev
Log:
[AVR] Move a pseudo expansion test into a folder

Added:
    llvm/trunk/test/CodeGen/AVR/pseudo/
    llvm/trunk/test/CodeGen/AVR/pseudo/expand-lddw-dst-src-same.mir
      - copied, changed from r288897, llvm/trunk/test/CodeGen/AVR/expand-lddw-dst-src-same.mir
Removed:
    llvm/trunk/test/CodeGen/AVR/expand-lddw-dst-src-same.mir

Removed: llvm/trunk/test/CodeGen/AVR/expand-lddw-dst-src-same.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AVR/expand-lddw-dst-src-same.mir?rev=288898&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/AVR/expand-lddw-dst-src-same.mir (original)
+++ llvm/trunk/test/CodeGen/AVR/expand-lddw-dst-src-same.mir (removed)
@@ -1,33 +0,0 @@
-# RUN: llc -O0 -run-pass=avr-expand-pseudo %s -o - 2>&1 | FileCheck %s
-
-# This test ensures that the pseudo expander can correctly handle the case
-# where we are expanding a 16-bit LDD instruction where the source and
-# destination registers are the same.
-#
-# The instruction itself is earlyclobber and so ISel will never produce an
-# instruction like this, but the stack slot loading can and will.
-
---- |
-  target triple = "avr--"
-  define void @test_lddw() {
-  entry:
-    ret void
-  }
-...
-
----
-name:            test_lddw
-registers:
-  - { id: 0, class: _ }
-body: |
-  ; CHECK-LABEL: bb.0.entry
-  bb.0.entry:
-
-    ; CHECK-NEXT: early-clobber %r0 = LDDRdPtrQ %r29r28, 1
-    ; CHECK-NEXT: PUSHRr %r0, implicit-def %sp, implicit %sp
-    ; CHECK-NEXT: early-clobber %r0 = LDDRdPtrQ %r29r28, 2
-    ; CHECK-NEXT: MOVRdRr %r29, %r0
-    ; CHECK-NEXT: POPRd %r28, implicit-def %sp, implicit %sp
-
-    early-clobber %r29r28 = LDDWRdYQ %r29r28, 1
-...

Copied: llvm/trunk/test/CodeGen/AVR/pseudo/expand-lddw-dst-src-same.mir (from r288897, llvm/trunk/test/CodeGen/AVR/expand-lddw-dst-src-same.mir)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AVR/pseudo/expand-lddw-dst-src-same.mir?p2=llvm/trunk/test/CodeGen/AVR/pseudo/expand-lddw-dst-src-same.mir&p1=llvm/trunk/test/CodeGen/AVR/expand-lddw-dst-src-same.mir&r1=288897&r2=288899&rev=288899&view=diff
==============================================================================
    (empty)




More information about the llvm-commits mailing list