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

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 05:41:20 PST 2020


samparker accepted this revision.
samparker added a comment.
This revision is now accepted and ready to land.

Ok.



================
Comment at: llvm/lib/CodeGen/ReachingDefAnalysis.cpp:220
+    if (F != InstIds.end() && F->second == InstId)
+      return F->first;
   }
----------------
Could just return MI here without going through F.


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

https://reviews.llvm.org/D73866





More information about the llvm-commits mailing list