From b0ee1e3c24771c748a1316a28851e7caac3db591 Mon Sep 17 00:00:00 2001 From: Jiafeng Liu Date: Wed, 2 Jun 2021 19:42:55 +0800 Subject: [PATCH] [type] [bug] Remove redundant component of bit pointer struct (#2393) --- taichi/codegen/codegen_llvm.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/taichi/codegen/codegen_llvm.cpp b/taichi/codegen/codegen_llvm.cpp index e25d4cfb9d521..8e951ffd05af8 100644 --- a/taichi/codegen/codegen_llvm.cpp +++ b/taichi/codegen/codegen_llvm.cpp @@ -1275,7 +1275,6 @@ llvm::Value *CodeGenLLVM::create_bit_ptr_struct(llvm::Value *byte_ptr_base, // }; auto struct_type = llvm::StructType::get( *llvm_context, {llvm::Type::getInt8PtrTy(*llvm_context), - llvm::Type::getInt32Ty(*llvm_context), llvm::Type::getInt32Ty(*llvm_context)}); // 2. allocate the bit pointer struct auto bit_ptr_struct = create_entry_block_alloca(struct_type);