[PATCH] D51537: Extend hasStoreToStackSlot with list of FI accesses.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 3 07:05:12 PDT 2018


sdesmalen added a comment.

The code in `hasLoadFromStackSlot` filters out MMO's that have a pseudo source value of type Stack. If that function populates an array of only those MMOs, I think its safe to do a `cast<FixedStackPseudoSourceValue>(mmo->getPseudoValue())` and get rid of the FrameAccess struct.


Repository:
  rL LLVM

https://reviews.llvm.org/D51537





More information about the llvm-commits mailing list