diff mbox series

middle-end/112860 - -fgimple can skip ISEL

Message ID 20231205142209.16B81385E00D@sourceware.org
State New
Headers show
Series middle-end/112860 - -fgimple can skip ISEL | expand

Commit Message

Richard Biener Dec. 5, 2023, 2:18 p.m. UTC
The following makes sure we don't skip ISEL.

Bootstrapped on x86_64-unknown-linux-gnu, testing in progress.

Will push,
Richard.

	PR middle-end/112860
	* passes.cc (should_skip_pass_p): Do not skip ISEL.
---
 gcc/passes.cc | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/gcc/passes.cc b/gcc/passes.cc
index 6f894a41d22..087aed52934 100644
--- a/gcc/passes.cc
+++ b/gcc/passes.cc
@@ -2514,6 +2514,11 @@  should_skip_pass_p (opt_pass *pass)
   if (strstr (pass->name, "build_cgraph_edges") != NULL)
     return false;
 
+  /* We need to run ISEL as that lowers VEC_COND_EXPR but doesn't provide
+     a property.  */
+  if (strstr (pass->name, "isel") != NULL)
+    return false;
+
   /* Don't skip df init; later RTL passes need it.  */
   if (strstr (pass->name, "dfinit") != NULL
       || strstr (pass->name, "dfinish") != NULL)