diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-06-28 23:24:10 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-06-28 23:24:10 +0000 |
commit | 76bf61fe0754500c5c9d01fc440ff36c76ff61f5 (patch) | |
tree | 941f805c42eb58119a0f372c1b7c8c37fefe2dd2 /unittests | |
parent | 2d6e3bd8814db99c70aba5c2163825b92f9ed4b8 (diff) | |
download | llvm-76bf61fe0754500c5c9d01fc440ff36c76ff61f5.tar.gz llvm-76bf61fe0754500c5c9d01fc440ff36c76ff61f5.tar.bz2 llvm-76bf61fe0754500c5c9d01fc440ff36c76ff61f5.tar.xz |
Fix copypaste error in test.
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
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/IR/InstructionsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/IR/InstructionsTest.cpp b/unittests/IR/InstructionsTest.cpp index 9f66af1471..3aa30af6b9 100644 --- a/unittests/IR/InstructionsTest.cpp +++ b/unittests/IR/InstructionsTest.cpp @@ -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); |