[clang] [clang][codegen] Don't mark "int" TBAA on FP libcalls with indirect args (PR #108853)

Benjamin Maxwell via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 17 08:08:15 PDT 2024


MacDue wrote:

> Not really! int TBAA in in our downstream compiler is interpreted as describing the function arguments (they are not int) and the load/store of the argument before the library call are begin eliminated which result in unexpected behavior.

Oh wait, then you say "not really" you're only referring to the case where the arguments are passed _indirectly_ (i.e via pointers). Which is what this patch is preventing (not the case where they're passed via floating-point registers). 

https://github.com/llvm/llvm-project/pull/108853


More information about the cfe-commits mailing list