[PATCH] D145374: [FuncSpec] Consider constant struct arguments when specializing.

Chuanqi Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 02:32:56 PDT 2023


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

LGTM now.



================
Comment at: llvm/lib/Transforms/Utils/SCCPSolver.cpp:815
+Constant *SCCPInstVisitor::getConstantOrNull(Value *V) const {
+  Constant *Const;
+  if (V->getType()->isStructTy()) {
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145374



More information about the llvm-commits mailing list