Rename the VMCore unittest tree to IR. Somehow was missed when doing the
library rename.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171747 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt
index e2b7563..a3f8bf3 100644
--- a/unittests/CMakeLists.txt
+++ b/unittests/CMakeLists.txt
@@ -12,4 +12,4 @@
 add_subdirectory(Option)
 add_subdirectory(Support)
 add_subdirectory(Transforms)
-add_subdirectory(VMCore)
+add_subdirectory(IR)
diff --git a/unittests/VMCore/CMakeLists.txt b/unittests/IR/CMakeLists.txt
similarity index 84%
rename from unittests/VMCore/CMakeLists.txt
rename to unittests/IR/CMakeLists.txt
index 8d8bb3b..4ff94f7 100644
--- a/unittests/VMCore/CMakeLists.txt
+++ b/unittests/IR/CMakeLists.txt
@@ -4,7 +4,7 @@
   ipa
   )
 
-set(VMCoreSources
+set(IRSources
   ConstantsTest.cpp
   DominatorTreeTest.cpp
   IRBuilderTest.cpp
@@ -22,7 +22,7 @@
 # MSVC9 and 8 cannot compile ValueMapTest.cpp due to their bug.
 # See issue#331418 in Visual Studio.
 if(MSVC AND MSVC_VERSION LESS 1600)
-  list(REMOVE_ITEM VMCoreSources ValueMapTest.cpp)
+  list(REMOVE_ITEM IRSources ValueMapTest.cpp)
 endif()
 
 # HACK: Declare a couple of source files as optionally compiled to satisfy the
@@ -31,6 +31,6 @@
   ValueMapTest.cpp
   )
 
-add_llvm_unittest(VMCoreTests
-  ${VMCoreSources}
+add_llvm_unittest(IRTests
+  ${IRSources}
   )
diff --git a/unittests/VMCore/ConstantsTest.cpp b/unittests/IR/ConstantsTest.cpp
similarity index 98%
rename from unittests/VMCore/ConstantsTest.cpp
rename to unittests/IR/ConstantsTest.cpp
index 01ab5f2..be34c1e 100644
--- a/unittests/VMCore/ConstantsTest.cpp
+++ b/unittests/IR/ConstantsTest.cpp
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/ConstantsTest.cpp - Constants unit tests ------===//
+//===- llvm/unittest/IR/ConstantsTest.cpp - Constants unit tests ----------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
diff --git a/unittests/VMCore/DominatorTreeTest.cpp b/unittests/IR/DominatorTreeTest.cpp
similarity index 100%
rename from unittests/VMCore/DominatorTreeTest.cpp
rename to unittests/IR/DominatorTreeTest.cpp
diff --git a/unittests/VMCore/IRBuilderTest.cpp b/unittests/IR/IRBuilderTest.cpp
similarity index 98%
rename from unittests/VMCore/IRBuilderTest.cpp
rename to unittests/IR/IRBuilderTest.cpp
index a9df2f6..c56721f 100644
--- a/unittests/VMCore/IRBuilderTest.cpp
+++ b/unittests/IR/IRBuilderTest.cpp
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/IRBuilderTest.cpp - IRBuilder tests -----------===//
+//===- llvm/unittest/IR/IRBuilderTest.cpp - IRBuilder tests ---------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
diff --git a/unittests/VMCore/InstructionsTest.cpp b/unittests/IR/InstructionsTest.cpp
similarity index 98%
rename from unittests/VMCore/InstructionsTest.cpp
rename to unittests/IR/InstructionsTest.cpp
index 6559b1d..601a84b 100644
--- a/unittests/VMCore/InstructionsTest.cpp
+++ b/unittests/IR/InstructionsTest.cpp
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/InstructionsTest.cpp - Instructions unit tests ===//
+//===- llvm/unittest/IR/InstructionsTest.cpp - Instructions unit tests ----===//
 //
 //                     The LLVM Compiler Infrastructure
 //
diff --git a/unittests/VMCore/MDBuilderTest.cpp b/unittests/IR/MDBuilderTest.cpp
similarity index 100%
rename from unittests/VMCore/MDBuilderTest.cpp
rename to unittests/IR/MDBuilderTest.cpp
diff --git a/unittests/VMCore/Makefile b/unittests/IR/Makefile
similarity index 83%
rename from unittests/VMCore/Makefile
rename to unittests/IR/Makefile
index d743dc5..7c59003 100644
--- a/unittests/VMCore/Makefile
+++ b/unittests/IR/Makefile
@@ -1,4 +1,4 @@
-##===- unittests/VMCore/Makefile ---------------------------*- Makefile -*-===##
+##===- unittests/IR/Makefile -------------------------------*- Makefile -*-===##
 #
 #                     The LLVM Compiler Infrastructure
 #
@@ -8,7 +8,7 @@
 ##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
-TESTNAME = VMCore
+TESTNAME = IR
 LINK_COMPONENTS := core ipa asmparser
 
 include $(LEVEL)/Makefile.config
diff --git a/unittests/VMCore/MetadataTest.cpp b/unittests/IR/MetadataTest.cpp
similarity index 98%
rename from unittests/VMCore/MetadataTest.cpp
rename to unittests/IR/MetadataTest.cpp
index d0b6c52..352e83e 100644
--- a/unittests/VMCore/MetadataTest.cpp
+++ b/unittests/IR/MetadataTest.cpp
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/Metadata.cpp - Metadata unit tests ------------===//
+//===- llvm/unittest/IR/Metadata.cpp - Metadata unit tests ----------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
diff --git a/unittests/VMCore/PassManagerTest.cpp b/unittests/IR/PassManagerTest.cpp
similarity index 99%
rename from unittests/VMCore/PassManagerTest.cpp
rename to unittests/IR/PassManagerTest.cpp
index 8cb7b24..1097da6 100644
--- a/unittests/VMCore/PassManagerTest.cpp
+++ b/unittests/IR/PassManagerTest.cpp
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/PassManager.cpp - Constants unit tests ------===//
+//===- llvm/unittest/IR/PassManager.cpp - PassManager unit tests ----------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
diff --git a/unittests/VMCore/TypeBuilderTest.cpp b/unittests/IR/TypeBuilderTest.cpp
similarity index 100%
rename from unittests/VMCore/TypeBuilderTest.cpp
rename to unittests/IR/TypeBuilderTest.cpp
diff --git a/unittests/VMCore/TypesTest.cpp b/unittests/IR/TypesTest.cpp
similarity index 92%
rename from unittests/VMCore/TypesTest.cpp
rename to unittests/IR/TypesTest.cpp
index fe09353..2cee640 100644
--- a/unittests/VMCore/TypesTest.cpp
+++ b/unittests/IR/TypesTest.cpp
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/TypesTest.cpp - Type unit tests ---------------===//
+//===- llvm/unittest/IR/TypesTest.cpp - Type unit tests -------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
diff --git a/unittests/VMCore/ValueMapTest.cpp b/unittests/IR/ValueMapTest.cpp
similarity index 100%
rename from unittests/VMCore/ValueMapTest.cpp
rename to unittests/IR/ValueMapTest.cpp
diff --git a/unittests/VMCore/VerifierTest.cpp b/unittests/IR/VerifierTest.cpp
similarity index 96%
rename from unittests/VMCore/VerifierTest.cpp
rename to unittests/IR/VerifierTest.cpp
index 674a785..8911936 100644
--- a/unittests/VMCore/VerifierTest.cpp
+++ b/unittests/IR/VerifierTest.cpp
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/VerifierTest.cpp - Verifier unit tests --------===//
+//===- llvm/unittest/IR/VerifierTest.cpp - Verifier unit tests ------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
diff --git a/unittests/VMCore/WaymarkTest.cpp b/unittests/IR/WaymarkTest.cpp
similarity index 94%
rename from unittests/VMCore/WaymarkTest.cpp
rename to unittests/IR/WaymarkTest.cpp
index 0e766e1..69fc4da 100644
--- a/unittests/VMCore/WaymarkTest.cpp
+++ b/unittests/IR/WaymarkTest.cpp
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/WaymarkTest.cpp - getUser() unit tests --------===//
+//===- llvm/unittest/IR/WaymarkTest.cpp - getUser() unit tests ------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
diff --git a/unittests/Makefile b/unittests/Makefile
index 27afccf..926459a 100644
--- a/unittests/Makefile
+++ b/unittests/Makefile
@@ -9,7 +9,7 @@
 
 LEVEL = ..
 
-PARALLEL_DIRS = ADT ExecutionEngine Support Transforms VMCore Analysis Bitcode
+PARALLEL_DIRS = ADT ExecutionEngine Support Transforms IR Analysis Bitcode
 
 include $(LEVEL)/Makefile.common