Skip to content

Commit

Permalink
[LLVM] Use 8 as the default kind for CPtr
Browse files Browse the repository at this point in the history
  • Loading branch information
Thirumalai-Shaktivel authored and certik committed Nov 29, 2023
1 parent 56b300b commit 3c6c19f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libasr/codegen/llvm_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,7 @@ namespace LCompilers {
break;
}
case (ASR::ttypeType::CPtr) : {
a_kind = 8;
llvm_type = llvm::Type::getVoidTy(context)->getPointerTo();
break;
}
Expand Down

0 comments on commit 3c6c19f

Please sign in to comment.