[PATCH] D61022: [ThinLTO] Pass down opt level to LTO backend and handle -O0 LTO in new PM

Mehdi AMINI via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 23 09:20:01 PDT 2019


mehdi_amini added inline comments.


================
Comment at: llvm/test/tools/gold/X86/opt-level.ll:53
+  ; CHECK-O1-OLDPM: select
+  ; The new PM does not do as many optimizations at O1
+  ; CHECK-O1-NEWPM: phi
----------------
This is intended? I'm surprised the two PMs don't have the same list of passes for a given opt level?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61022/new/

https://reviews.llvm.org/D61022





More information about the cfe-commits mailing list