Skip to content

Commit

Permalink
[type] [bug] Remove redundant component of bit pointer struct (#2393)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanke98 authored Jun 2, 2021
1 parent dd6980c commit b0ee1e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion taichi/codegen/codegen_llvm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b0ee1e3

Please sign in to comment.