[llvm] r185239 - Fix copypaste error in test.
Matt Arsenault
Matthew.Arsenault at amd.com
Fri Jun 28 16:24:10 PDT 2013
Author: arsenm
Date: Fri Jun 28 18:24:10 2013
New Revision: 185239
URL: http://llvm.org/viewvc/llvm-project?rev=185239&view=rev
Log:
Fix copypaste error in test.
Thename says it's an i32*, but it was actually creating another i8*
Modified:
llvm/trunk/unittests/IR/InstructionsTest.cpp
Modified: llvm/trunk/unittests/IR/InstructionsTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/InstructionsTest.cpp?rev=185239&r1=185238&r2=185239&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/InstructionsTest.cpp (original)
+++ llvm/trunk/unittests/IR/InstructionsTest.cpp Fri Jun 28 18:24:10 2013
@@ -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);
More information about the llvm-commits
mailing list