[PATCH] D105516: [clang][PassManager] Add -falways-mem2reg to run mem2reg at -O0

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 19 21:16:42 PDT 2021


efriedma added a comment.

I think it would be better to focus on making -O1 more usable for this sort of purpose, rather than introduce -O0.5.  I mean, there's a lot of wiggle-room between -O0 and -O2, but I don't think it makes sense to add a driver option that promises to run exactly one optimization.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105516



More information about the llvm-commits mailing list