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

Alexander Richardson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 27 16:10:43 PDT 2021


arichardson added a comment.

I like this since the flag significantly improves readability for `update_cc_test_checks.py`-generated Clang test without having to use the `-disable-O0-optnone | opt` trick. Not sure what the best flag name is, but as long as it's a CC1 flag it shouldn't really matter.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105516



More information about the cfe-commits mailing list