[PATCH] D38043: Restore ability for C++ API users to Enable IPRA.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 18:10:06 PDT 2017


arsenm added inline comments.


================
Comment at: lib/CodeGen/TargetPassConfig.cpp:376
     // If not explicitly specified, use target default.
-    TM.Options.EnableIPRA = TM.useIPRA();
+    TM.Options.EnableIPRA |= TM.useIPRA();
   }
----------------
I'm confused why you would want to still be directly setting this instead of using the new hook


https://reviews.llvm.org/D38043





More information about the llvm-commits mailing list