Closed orbiri closed 3 months ago
Embarrassing formatting and lit-tests errors fixed and verified locally š¤¦
Thanks for the review!! Will address the comments in the coming days. New push is just rebasing on top of Nathan's rebase, didn't address any comment yet! :)
Addressed all comments, main changes:
createAlloca
builder helpers in CIRBaseBuilder.h
, and replaced usages with it. @bcardosolopes do you think we can land this? :)
This patch adds the CIRGen for the following builtin functions:
alloca
;_alloca
;__builtin_alloca
;__builtin_alloca_uninitialized
.Missing support to add in the future:
P.S.: I'm aware this is rather an "esoteric" feature to be supported and I'm sure there are more valuable features to implement before that! Implementing this feature was my method of learning more about the development flow for CIR - working along side clang's codegen, testing and debugging flow, etc.