[PATCH] D119802: [HWASan] remove replacement of DbgVariableIntrinsics.

Florian Mayer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 15 11:51:17 PST 2022


fmayer added a comment.

Correcting the commit message (sorry): This never got run, because in `alignAndPadAlloca` we call `replaceAllUsesWith`, which includes all metadata uses. This means we would never find a LocationOp with `AI` as value. This was also true before the refactoring to use a shared `alignAndPadAlloca`, because the loop only got run if `!AllocaToPaddedAllocaMap.empty()`, which only got populated in the padding code.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119802



More information about the llvm-commits mailing list