[PATCH] D106077: [llvm-mca] Store extra information about the driver flags used for the simulation

Andrea Di Biagio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 10:20:37 PDT 2021


andreadb added inline comments.


================
Comment at: llvm/test/tools/llvm-mca/JSON/X86/views.s:163-174
+# CHECK-NEXT:   "SimulationParameters": {
+# CHECK-NEXT:     "-decoder-throughput": 0,
+# CHECK-NEXT:     "-dispatch": 0,
+# CHECK-NEXT:     "-lqueue": 0,
+# CHECK-NEXT:     "-march": "x86_64",
+# CHECK-NEXT:     "-mcpu": "haswell",
+# CHECK-NEXT:     "-micro-op-queue-size": 0,
----------------
markoshorro wrote:
> andreadb wrote:
> > I think that we should just ignore flags like `-dispatch`, `-squeue`, `-lqueue`, etc. if their value hasn't been changed by the user. I suggest to only report flags whose value doesn't correspond to their default.
> > 
> > The only exceptions would be mcpu/march/mtriple which (at least in my opinion) should always be present for completeness.
> Ok, I agree! Do you think this information should be printed as well in the classic report?
I think it should only be printed for the json output.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106077



More information about the llvm-commits mailing list