[PATCH] D143915: [llvm][AArch64] Fix an interaction of SLS and BTI after a returns twice call

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 02:21:45 PST 2023


DavidSpickett added a comment.

> I should note that the IR that describes an indirect call to a returns twice function will not be generated by current clang. It seems like the SROA pass drops that attribute when it replaces the value. Perhaps it did at one point do that, as I don't think I hand wrote the IR. I will see if that is a bug or not.

Filed https://github.com/llvm/llvm-project/issues/60732. It is a generic issue with SROA I think.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143915



More information about the llvm-commits mailing list