[PATCH] D86672: [StackSafety] Ignore allocas with partial lifetime markers

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 01:53:31 PDT 2020


vitalybuka added a comment.

In D86672#2240996 <https://reviews.llvm.org/D86672#2240996>, @ChuanqiXu wrote:

> In D86672#2240988 <https://reviews.llvm.org/D86672#2240988>, @vitalybuka wrote:
>
>> isPointerOffset is not what I need
>
> Could we use  `AI == II.getArgOperand(1)->stripPointerCasts()` to judge this situation?

this can't see through phi nodes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86672



More information about the llvm-commits mailing list