[all-commits] [llvm/llvm-project] a39731: [test] Fix thinlto-debug-pm.c in preparation for -...

aeubanks via All-commits all-commits at lists.llvm.org
Mon Aug 17 10:06:41 PDT 2020


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

  Changed paths:
    M clang/test/CodeGen/thinlto-debug-pm.c

  Log Message:
  -----------
  [test] Fix thinlto-debug-pm.c in preparation for -enable-npm-optnone

This fails due to the clang invocation running at -O0, producing an optnone function.
Then even with -O2 in the later invocations, LoopVectorizePass doesn't run on the optnone function.
So split this into an -O0 run and an -O2 run.

Reviewed By: asbirlea

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




More information about the All-commits mailing list