[PATCH] D70095: [PGO][PGSO] DAG.shouldOptForSize part.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 09:39:10 PST 2019


yamauchi added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:402
   // one use of the value.
-  if (ForCodeSize || V.hasOneUse())
+  if (CurDAG->shouldOptForSize() || V.hasOneUse())
     return true;
----------------
spatel wrote:
> If this was the only use of the "ForCodeSize" class variable, then it should be removed now?
True, done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70095





More information about the llvm-commits mailing list