Fix copypaste error in test.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 28 Jun 2013 23:24:10 +0000 (23:24 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 28 Jun 2013 23:24:10 +0000 (23:24 +0000)
Thename says it's an i32*, but it was actually creating another i8*

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185239 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/IR/InstructionsTest.cpp

index 9f66af147180e481b41be46f966fd929d46bfd5b..3aa30af6b92aa36e1378339b4acda31abc6e5e09 100644 (file)
@@ -141,7 +141,7 @@ TEST(InstructionsTest, VectorGep) {
 
   // Type Definitions
   PointerType *Ptri8Ty = PointerType::get(IntegerType::get(C, 8), 0);
-  PointerType *Ptri32Ty = PointerType::get(IntegerType::get(C, 8), 0);
+  PointerType *Ptri32Ty = PointerType::get(IntegerType::get(C, 32), 0);
 
   VectorType *V2xi8PTy = VectorType::get(Ptri8Ty, 2);
   VectorType *V2xi32PTy = VectorType::get(Ptri32Ty, 2);