[PATCH] D108155: [PassBuilder] Use loop-mssa for licm

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 16 12:08:02 PDT 2021


nikic added inline comments.


================
Comment at: llvm/lib/Passes/PassBuilder.cpp:2422
-  if (Name == "loop" || Name == "loop-mssa")
-    return true;
 
----------------
I dropped this code because I found it confusing, and it's effectively dead: We call isFunctionPassName() first, which will already handle these.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108155



More information about the llvm-commits mailing list