Skip to content

Commit 09d3f8f

Browse files
committed
remove one use types
1 parent d39c3b5 commit 09d3f8f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,9 @@ static SmallVector<Value> unpackOperandVector(ImplicitLocOpBuilder &b,
177177
Type i32Ty = b.getI32Type();
178178
Type f64Ty = b.getF64Type();
179179
Type f32Ty = b.getF32Type();
180-
Type i8Ty = b.getI8Type();
181180
Type i64Ty = b.getI64Type();
182-
Type i4Ty = b.getIntegerType(4);
183-
Type i8x4Ty = LLVM::getFixedVectorType(i8Ty, 4);
184-
Type i4x8Ty = LLVM::getFixedVectorType(i4Ty, 8);
181+
Type i8x4Ty = LLVM::getFixedVectorType(b.getI8Type(), 4);
182+
Type i4x8Ty = LLVM::getFixedVectorType(b.getIntegerType(4), 8);
185183
Type f32x1Ty = LLVM::getFixedVectorType(f32Ty, 1);
186184
auto arrayTy = cast<LLVM::LLVMArrayType>(operand.getType());
187185

0 commit comments

Comments
 (0)