aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
-rw-r--r--Documentation/dev-options.rst1
-rw-r--r--lib.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/dev-options.rst b/Documentation/dev-options.rst
index 04fb651f..23e8096c 100644
--- a/Documentation/dev-options.rst
+++ b/Documentation/dev-options.rst
@@ -33,6 +33,7 @@ OPTIONS
The passes currently understood are:
+ * ``linearize`` (can't be disabled)
* ``mem2reg``
* ``optim``
diff --git a/lib.c b/lib.c
index db456a63..f2f219b1 100644
--- a/lib.c
+++ b/lib.c
@@ -956,6 +956,7 @@ static int handle_fmax_warnings(const char *arg, const char *opt, const struct f
static struct flag fflags[] = {
{ "diagnostic-prefix", NULL, handle_fdiagnostic_prefix },
{ "dump-ir", NULL, handle_fdump_ir },
+ { "linearize", NULL, handle_fpasses, PASS_LINEARIZE },
{ "max-warnings=", NULL, handle_fmax_warnings },
{ "mem-report", &fmem_report },
{ "memcpy-max-count=", NULL, handle_fmemcpy_max_count },