[all-commits] [llvm/llvm-project] 512a64: [test] Fix scev-expander-preserve-lcssa.ll under NPM

aeubanks via All-commits all-commits at lists.llvm.org
Thu Dec 10 09:47:04 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 512a64de6a977891b52b59c765f7775e0c8ad6cf
      https://github.com/llvm/llvm-project/commit/512a64de6a977891b52b59c765f7775e0c8ad6cf
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M llvm/test/Transforms/IndVarSimplify/scev-expander-preserve-lcssa.ll

  Log Message:
  -----------
  [test] Fix scev-expander-preserve-lcssa.ll under NPM

The NPM runs loop passes over loops in forward program order, rather
than the legacy loop PM's reverse program order. This seems to produce
better results as shown here.

I verified that changing the loop order to reverse program order results
in the same IR with the NPM.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D92817




More information about the All-commits mailing list