[PATCH] D78624: [CaptureTracking] Replace hardcoded constant to option. NFC.

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 06:28:17 PDT 2020


fedor.sergeev added a comment.

Look good to me, but I would like to hear other opinions...



================
Comment at: llvm/lib/Analysis/CaptureTracking.cpp:32
+static cl::opt<unsigned>
+DefaultMaxUsesToExplore("ct-max-uses-to-explore", cl::Hidden,
+                        cl::desc("Maximal number of uses to explore."),
----------------
I'm not sure if '-ct' is enough for people to figure out what it means.
I would mildly prefer -capture-tracking here....


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

https://reviews.llvm.org/D78624





More information about the llvm-commits mailing list