fpetrogalli added a comment.

Hello reviewers,

I know this is not how the fix should be tested (`fprintf` in debug builds...).

This function would benefit of some unitests in the `unittests` folder of 
clang, but I don't have a way to export it there as it is private to this 
module.

I would like to lift it to some class (as a static function of 
`CodeGenFunction`, for example), but that would require exposing the  
`ParamAttrTy`. Are you OK with that? I'd rather use the `llvm::VFParameter` of 
`llvm/Analisys/VectorUtils.h` as I suggested in 
http://lists.llvm.org/pipermail/llvm-dev/2020-April/141057.html, but that would 
definitely require a first patch work to remove the uses of `ParamAttrTy` in 
favor of `llvm::VFParameter`.

I am open to alternative suggestions, of course!

Kind regards,

Francesco


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78969/new/

https://reviews.llvm.org/D78969



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to