[all-commits] [llvm/llvm-project] 9ea0d8: [LoopRotate] Remove unnecessary verifyMemorySSA ca...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Jul 15 03:53:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ea0d8c38fc58ecec2e2f62f3b65e99fcbc2ec4c
      https://github.com/llvm/llvm-project/commit/9ea0d8c38fc58ecec2e2f62f3b65e99fcbc2ec4c
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

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

  Log Message:
  -----------
  [LoopRotate] Remove unnecessary verifyMemorySSA calls.

The actual rotation happens in processLoop, so the second removed
call to verifyMemorySSA was unnecessary.

In fact, processLoop/rotateLoop already verify MemorySSA before
and after transforming each loop. Hence, both calls can be removed.

Pointed out by @lebedev.ri post-commit D51718.




More information about the All-commits mailing list