[PATCH] D73866: [RDA] getInstFromId: find instructions. NFC.

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 05:50:15 PST 2020


SjoerdMeijer marked an inline comment as done.
SjoerdMeijer added inline comments.


================
Comment at: llvm/lib/CodeGen/ReachingDefAnalysis.cpp:220
+    if (F != InstIds.end() && F->second == InstId)
+      return F->first;
   }
----------------
samparker wrote:
> Could just return MI here without going through F.
yep, cheers, will change that before committing.


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

https://reviews.llvm.org/D73866





More information about the llvm-commits mailing list