[PATCH] D92467: [InstructionsTest] NFC: Replace VectorType::get(.., .., true) with ScalableVectorType::get
Cullen Rhodes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 02:50:45 PST 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG14557cdf9427: [InstructionsTest] NFC: Replace VectorType::get(.., .., true) with… (authored by c-rhodes).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92467/new/
https://reviews.llvm.org/D92467
Files:
llvm/unittests/IR/InstructionsTest.cpp
Index: llvm/unittests/IR/InstructionsTest.cpp
===================================================================
--- llvm/unittests/IR/InstructionsTest.cpp
+++ llvm/unittests/IR/InstructionsTest.cpp
@@ -200,10 +200,10 @@
Type *V4Int16Ty = FixedVectorType::get(Int16Ty, 4);
Type *V1Int16Ty = FixedVectorType::get(Int16Ty, 1);
- Type *VScaleV2Int32Ty = VectorType::get(Int32Ty, 2, true);
- Type *VScaleV2Int64Ty = VectorType::get(Int64Ty, 2, true);
- Type *VScaleV4Int16Ty = VectorType::get(Int16Ty, 4, true);
- Type *VScaleV1Int16Ty = VectorType::get(Int16Ty, 1, true);
+ Type *VScaleV2Int32Ty = ScalableVectorType::get(Int32Ty, 2);
+ Type *VScaleV2Int64Ty = ScalableVectorType::get(Int64Ty, 2);
+ Type *VScaleV4Int16Ty = ScalableVectorType::get(Int16Ty, 4);
+ Type *VScaleV1Int16Ty = ScalableVectorType::get(Int16Ty, 1);
Type *Int32PtrTy = PointerType::get(Int32Ty, 0);
Type *Int64PtrTy = PointerType::get(Int64Ty, 0);
@@ -214,15 +214,15 @@
Type *V2Int32PtrAS1Ty = FixedVectorType::get(Int32PtrAS1Ty, 2);
Type *V2Int64PtrAS1Ty = FixedVectorType::get(Int64PtrAS1Ty, 2);
Type *V4Int32PtrAS1Ty = FixedVectorType::get(Int32PtrAS1Ty, 4);
- Type *VScaleV4Int32PtrAS1Ty = VectorType::get(Int32PtrAS1Ty, 4, true);
+ Type *VScaleV4Int32PtrAS1Ty = ScalableVectorType::get(Int32PtrAS1Ty, 4);
Type *V4Int64PtrAS1Ty = FixedVectorType::get(Int64PtrAS1Ty, 4);
Type *V2Int64PtrTy = FixedVectorType::get(Int64PtrTy, 2);
Type *V2Int32PtrTy = FixedVectorType::get(Int32PtrTy, 2);
- Type *VScaleV2Int32PtrTy = VectorType::get(Int32PtrTy, 2, true);
+ Type *VScaleV2Int32PtrTy = ScalableVectorType::get(Int32PtrTy, 2);
Type *V4Int32PtrTy = FixedVectorType::get(Int32PtrTy, 4);
- Type *VScaleV4Int32PtrTy = VectorType::get(Int32PtrTy, 4, true);
- Type *VScaleV4Int64PtrTy = VectorType::get(Int64PtrTy, 4, true);
+ Type *VScaleV4Int32PtrTy = ScalableVectorType::get(Int32PtrTy, 4);
+ Type *VScaleV4Int64PtrTy = ScalableVectorType::get(Int64PtrTy, 4);
const Constant* c8 = Constant::getNullValue(V8x8Ty);
const Constant* c64 = Constant::getNullValue(V8x64Ty);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92467.308924.patch
Type: text/x-patch
Size: 2099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/a439d059/attachment.bin>
More information about the llvm-commits
mailing list