[llvm] r223993 - IR: Add 'invalid-' to test names for invalid assembly

Duncan P. N. Exon Smith dexonsmith at apple.com
Wed Dec 10 17:34:46 PST 2014


Author: dexonsmith
Date: Wed Dec 10 19:34:46 2014
New Revision: 223993

URL: http://llvm.org/viewvc/llvm-project?rev=223993&view=rev
Log:
IR: Add 'invalid-' to test names for invalid assembly

Take the opportunity to sort these by `metadata`.

Added:
    llvm/trunk/test/Assembler/invalid-metadata-function-local-attachments.ll
      - copied, changed from r223991, llvm/trunk/test/Assembler/functionlocal-metadata-attachments.ll
    llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-1.ll
      - copied, changed from r223991, llvm/trunk/test/Assembler/functionlocal-metadata-complex-1.ll
    llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-2.ll
      - copied, changed from r223991, llvm/trunk/test/Assembler/functionlocal-metadata-complex-2.ll
    llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-3.ll
      - copied, changed from r223991, llvm/trunk/test/Assembler/functionlocal-metadata-complex-3.ll
Removed:
    llvm/trunk/test/Assembler/functionlocal-metadata-attachments.ll
    llvm/trunk/test/Assembler/functionlocal-metadata-complex-1.ll
    llvm/trunk/test/Assembler/functionlocal-metadata-complex-2.ll
    llvm/trunk/test/Assembler/functionlocal-metadata-complex-3.ll

Removed: llvm/trunk/test/Assembler/functionlocal-metadata-attachments.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/functionlocal-metadata-attachments.ll?rev=223992&view=auto
==============================================================================
--- llvm/trunk/test/Assembler/functionlocal-metadata-attachments.ll (original)
+++ llvm/trunk/test/Assembler/functionlocal-metadata-attachments.ll (removed)
@@ -1,7 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-define void @foo(i32 %v) {
-entry:
-; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: invalid use of function-local name
-  ret void, !foo !{i32 %v}
-}

Removed: llvm/trunk/test/Assembler/functionlocal-metadata-complex-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/functionlocal-metadata-complex-1.ll?rev=223992&view=auto
==============================================================================
--- llvm/trunk/test/Assembler/functionlocal-metadata-complex-1.ll (original)
+++ llvm/trunk/test/Assembler/functionlocal-metadata-complex-1.ll (removed)
@@ -1,10 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-define void @foo(i32 %v) {
-entry:
-; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: unexpected operand after function-local metadata
-  call void @llvm.bar(metadata !{i32 %v, i32 0})
-  ret void
-}
-
-declare void @llvm.bar(metadata)

Removed: llvm/trunk/test/Assembler/functionlocal-metadata-complex-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/functionlocal-metadata-complex-2.ll?rev=223992&view=auto
==============================================================================
--- llvm/trunk/test/Assembler/functionlocal-metadata-complex-2.ll (original)
+++ llvm/trunk/test/Assembler/functionlocal-metadata-complex-2.ll (removed)
@@ -1,10 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-define void @foo(i32 %v) {
-entry:
-; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: unexpected function-local metadata
-  call void @llvm.bar(metadata !{i32 0, i32 %v})
-  ret void
-}
-
-declare void @llvm.bar(metadata)

Removed: llvm/trunk/test/Assembler/functionlocal-metadata-complex-3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/functionlocal-metadata-complex-3.ll?rev=223992&view=auto
==============================================================================
--- llvm/trunk/test/Assembler/functionlocal-metadata-complex-3.ll (original)
+++ llvm/trunk/test/Assembler/functionlocal-metadata-complex-3.ll (removed)
@@ -1,10 +0,0 @@
-; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
-
-define void @foo(i32 %v) {
-entry:
-; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: invalid use of function-local name
-  call void @llvm.bar(metadata !{metadata !{i32 %v}})
-  ret void
-}
-
-declare void @llvm.bar(metadata)

Copied: llvm/trunk/test/Assembler/invalid-metadata-function-local-attachments.ll (from r223991, llvm/trunk/test/Assembler/functionlocal-metadata-attachments.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/invalid-metadata-function-local-attachments.ll?p2=llvm/trunk/test/Assembler/invalid-metadata-function-local-attachments.ll&p1=llvm/trunk/test/Assembler/functionlocal-metadata-attachments.ll&r1=223991&r2=223993&rev=223993&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-1.ll (from r223991, llvm/trunk/test/Assembler/functionlocal-metadata-complex-1.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-1.ll?p2=llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-1.ll&p1=llvm/trunk/test/Assembler/functionlocal-metadata-complex-1.ll&r1=223991&r2=223993&rev=223993&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-2.ll (from r223991, llvm/trunk/test/Assembler/functionlocal-metadata-complex-2.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-2.ll?p2=llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-2.ll&p1=llvm/trunk/test/Assembler/functionlocal-metadata-complex-2.ll&r1=223991&r2=223993&rev=223993&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-3.ll (from r223991, llvm/trunk/test/Assembler/functionlocal-metadata-complex-3.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-3.ll?p2=llvm/trunk/test/Assembler/invalid-metadata-function-local-complex-3.ll&p1=llvm/trunk/test/Assembler/functionlocal-metadata-complex-3.ll&r1=223991&r2=223993&rev=223993&view=diff
==============================================================================
    (empty)





More information about the llvm-commits mailing list