[PATCH] D45308: [IPRA] Do not collect register usage information on functions that can be derefined

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 12:49:29 PDT 2018


MatzeB added inline comments.


================
Comment at: llvm/lib/CodeGen/RegUsageInfoCollector.cpp:104-105
 
+ if (!F.isDefinitionExact())
+    return false;
+
----------------
Maybe add a comment that this is a shortcut as the result won't get used?


https://reviews.llvm.org/D45308





More information about the llvm-commits mailing list