[PATCH] D104102: Function Specialisation, cont'd

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 11 03:22:59 PDT 2021


SjoerdMeijer added a comment.

This is sort of a placeholder for follow up comments of D93838 <https://reviews.llvm.org/D93838> while I am looking into a few things.



================
Comment at: llvm/lib/Transforms/IPO/FunctionSpecialization.cpp:67
 // Helper to check if \p LV is either overdefined or a constant int.
 static bool isOverdefined(const ValueLatticeElement &LV) {
   return !LV.isUnknownOrUndef() && !LV.isConstant();
----------------
I did change something here; partly addressed this, but need to remind myself what that was. Will look into this.


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

https://reviews.llvm.org/D104102



More information about the llvm-commits mailing list