[all-commits] [llvm/llvm-project] 01aa14: [NewPM][opt] Revert to legacy PM when any codegen ...

aeubanks via All-commits all-commits at lists.llvm.org
Wed Jul 29 13:56:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 01aa14784b0cfc44a977080a2a17d6dbb0c77818
      https://github.com/llvm/llvm-project/commit/01aa14784b0cfc44a977080a2a17d6dbb0c77818
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/tools/opt/opt.cpp

  Log Message:
  -----------
  [NewPM][opt] Revert to legacy PM when any codegen passes are specified

This reduces the number of check-llvm failures by 500.

Ideally we'd have a codegen version of PassRegistry.def, or have all the
codegen passes ported and put into PassRegistry.def. But since that
doesn't exist yet, hardcode the list of codegen IR passes.

There are still codegen passes missing from this list, I'll add them
later as I stumble upon them.

Reviewed By: asbirlea, ychen

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




More information about the All-commits mailing list