[all-commits] [llvm/llvm-project] 72effd: [test][LoopUnroll] Cleanup FullUnroll.ll

aeubanks via All-commits all-commits at lists.llvm.org
Fri Aug 14 16:06:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 72effd8d5b08df54806dde68c5c505b15d56f316
      https://github.com/llvm/llvm-project/commit/72effd8d5b08df54806dde68c5c505b15d56f316
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-08-14 (Fri, 14 Aug 2020)

  Changed paths:
    M llvm/test/Transforms/LoopUnroll/FullUnroll.ll

  Log Message:
  -----------
  [test][LoopUnroll] Cleanup FullUnroll.ll

This is in preparation for enabling proper handling of optnone under the
NPM. Most optimizations won't run on an optnone function.

Previously the test would rely on lots of optimizations to optimize the
IR into a simple infinite loop. This is an optnone function, so clearly
that shouldn't be the case.

This IR was found by printing the module before the LoopFullUnrollerPass ran.

Reviewed By: asbirlea

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




More information about the All-commits mailing list