[PATCH] D116145: [FuncSpec] Improve specializing direct constant

duanbo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 22 01:03:05 PST 2021


duan.db added a comment.

Sorry, my description may not be clear.
The original case is :

  int f(){...}
  int main() {
  for(int i=0; i<100;i++)
    {
        f(0,i);
        f(i,13);
    }
  }

ipsccp cannot optimize case like this. @ChuanqiXu


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

https://reviews.llvm.org/D116145



More information about the llvm-commits mailing list