summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-05-22 07:17:07 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-05-22 07:17:07 +0000
commit263b27997d5a1d4bab75c2cd20a397ed80e32925 (patch)
tree30cb6219ee41aad451b75ef876accc1096797317 /llvm/test/CodeGen/MIR
parente8d762e148480a0bf5c76e5fd73082040c36ffbd (diff)
downloadbcm5719-llvm-263b27997d5a1d4bab75c2cd20a397ed80e32925.tar.gz
bcm5719-llvm-263b27997d5a1d4bab75c2cd20a397ed80e32925.zip
Revert r237954, "Resubmit r237708 (MIR Serialization: print and parse LLVM IR using MIR format)."
It brought cyclic dependencies between LLVMCodeGen and LLVMMIR. llvm-svn: 238007
Diffstat (limited to 'llvm/test/CodeGen/MIR')
-rw-r--r--llvm/test/CodeGen/MIR/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MIR/llvmIR.mir32
-rw-r--r--llvm/test/CodeGen/MIR/llvmIRMissing.mir5
3 files changed, 0 insertions, 39 deletions
diff --git a/llvm/test/CodeGen/MIR/lit.local.cfg b/llvm/test/CodeGen/MIR/lit.local.cfg
deleted file mode 100644
index e69aa576535..00000000000
--- a/llvm/test/CodeGen/MIR/lit.local.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-config.suffixes = ['.mir']
-
diff --git a/llvm/test/CodeGen/MIR/llvmIR.mir b/llvm/test/CodeGen/MIR/llvmIR.mir
deleted file mode 100644
index 7a7b46b6263..00000000000
--- a/llvm/test/CodeGen/MIR/llvmIR.mir
+++ /dev/null
@@ -1,32 +0,0 @@
-# RUN: llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s | FileCheck %s
-# This test ensures that the LLVM IR that's embedded with MIR is parsed
-# correctly.
-
---- |
- ; CHECK: define i32 @foo(i32 %x, i32 %y)
- ; CHECK: %z = alloca i32, align 4
- ; CHECK: store i32 %x, i32* %z, align 4
- ; CHECK: br label %Test
- ; CHECK: Test:
- ; CHECK: %m = load i32, i32* %z, align 4
- ; CHECK: %cond = icmp eq i32 %y, %m
- ; CHECK: br i1 %cond, label %IfEqual, label %IfUnequal
- ; CHECK: IfEqual:
- ; CHECK: ret i32 1
- ; CHECK: IfUnequal:
- ; CHECK: ret i32 0
- define i32 @foo(i32 %x, i32 %y) {
- %z = alloca i32, align 4
- store i32 %x, i32* %z, align 4
- br label %Test
- Test:
- %m = load i32, i32* %z, align 4
- %cond = icmp eq i32 %y, %m
- br i1 %cond, label %IfEqual, label %IfUnequal
- IfEqual:
- ret i32 1
- IfUnequal:
- ret i32 0
- }
-
-...
diff --git a/llvm/test/CodeGen/MIR/llvmIRMissing.mir b/llvm/test/CodeGen/MIR/llvmIRMissing.mir
deleted file mode 100644
index 2acbcd1f988..00000000000
--- a/llvm/test/CodeGen/MIR/llvmIRMissing.mir
+++ /dev/null
@@ -1,5 +0,0 @@
-# RUN: llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s
-# This test ensures that the MIR parser accepts files without the LLVM IR.
-
----
-...
OpenPOWER on IntegriCloud