Skip to content

Commit

Permalink
Auto-format code changes (#515)
Browse files Browse the repository at this point in the history
Auto-format code using Clang-Format

Co-authored-by: GitHub Actions <actions@github.com>
  • Loading branch information
github-actions[bot] and actions-user committed May 13, 2024
1 parent 9ad706b commit 73dd629
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/micm/jit/jit_function.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ namespace micm
return builder_->CreateLoad(GetType(type), elem, array_ptr.name_ + " load elem");
}

void JitFunction::SetArrayElement(JitArgument array_ptr, llvm::ArrayRef<llvm::Value*> index, JitType type, llvm::Value* value)
void
JitFunction::SetArrayElement(JitArgument array_ptr, llvm::ArrayRef<llvm::Value*> index, JitType type, llvm::Value* value)
{
llvm::Value* elem = builder_->CreateGEP(GetType(type), array_ptr.ptr_, index, array_ptr.name_ + " set elem");
builder_->CreateStore(value, elem);
Expand Down

0 comments on commit 73dd629

Please sign in to comment.