[all-commits] [llvm/llvm-project] ce4459: [NFC][LoopRotate] Add a statistic for how many tim...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Wed Jul 15 14:22:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ce4459a0db91456ff98b9b43018833655367a59e
      https://github.com/llvm/llvm-project/commit/ce4459a0db91456ff98b9b43018833655367a59e
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp

  Log Message:
  -----------
  [NFC][LoopRotate] Add a statistic for how many times rotation failed due to the header size


  Commit: 702a3c6410ab4ec89e4e137c58e59505e1860ba0
      https://github.com/llvm/llvm-project/commit/702a3c6410ab4ec89e4e137c58e59505e1860ba0
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFC][SimplifyCFG] Rename statistic NumSinkCommons into NumSinkCommonInstrs

It really counts instructions added into common block,
not number of instruction groups sunk.


  Commit: 4c798644881abc4c43a7cdbc5df465fff04d03e3
      https://github.com/llvm/llvm-project/commit/4c798644881abc4c43a7cdbc5df465fff04d03e3
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFC][SimplifyCFG] SinkCommonCodeFromPredecessors(): early return if nothing to sink

If we can't sink even one instruction, early return, to increase readability.


  Commit: 9ed65c76c04944e985ca8cde64e16919af0e26b0
      https://github.com/llvm/llvm-project/commit/9ed65c76c04944e985ca8cde64e16919af0e26b0
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFC][SimplifyCFG] SinkCommonCodeFromPredecessors(): add debug output when failing to actually sink instr


  Commit: 3fc1defc0b28d9b0ac8917629716181c0ac8df07
      https://github.com/llvm/llvm-project/commit/3fc1defc0b28d9b0ac8917629716181c0ac8df07
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFC][SimplifyCFG] SinkCommonCodeFromPredecessors(): count number of instruction "blocks" actually sunk

Out of all the times the function was called,
how many times did we actually sink anything?


  Commit: 7b53ad88d4a93df469550b5cfdb85c3058260034
      https://github.com/llvm/llvm-project/commit/7b53ad88d4a93df469550b5cfdb85c3058260034
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFC][SimplifyCFG] HoistThenElseCodeToIf(): count number of common instructions hoisted


  Commit: 1cfc24fd670f2b368670432b2d83fd706b8d98fc
      https://github.com/llvm/llvm-project/commit/1cfc24fd670f2b368670432b2d83fd706b8d98fc
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFC][SimplifyCFG] HoistThenElseCodeToIf(): count number of common instruction "blocks" hoisted

I.e. out of all the times HoistThenElseCodeToIf() was called,
how many times did it actually hoist something?


Compare: https://github.com/llvm/llvm-project/compare/ef454c5444ed...1cfc24fd670f


More information about the All-commits mailing list