================
@@ -21,15 +21,26 @@ namespace llvm {
class Function;
-enum class SROAOptions : bool { ModifyCFG, PreserveCFG };
+struct SROAOptions {
+ enum CFGOption { ModifyCFG, PreserveCFG };
+
+ CFGOption CFG;
+ bool CanonicalizeStructToVector;
----------------
arsenm wrote:
I think the name here could use work, don't really need the "Canonicalize" part
https://github.com/llvm/llvm-project/pull/165159
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits