[clang] [clang][codegen] Don't mark "int" TBAA on FP libcalls with indirect args (PR #108853)
Zahira Ammarguellat via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 17 08:14:06 PDT 2024
zahiraam 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) not the case where they're passed via floating-point registers.
>
Yes exactly! Have you tried running the test case in patch https://github.com/llvm/llvm-project/pull/107598 to see what IR it generates?
https://github.com/llvm/llvm-project/pull/108853
More information about the cfe-commits
mailing list