This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 0003-Improve-VBEout-computation.patch


+	 that are calculated along every path from BB.
+	 E.g., it will not try to optimize the following case:
+
+		  2
+                  | \
+		  3* |
+	          | /
+		  4
+                 / \
+                5*  6
+
+	 ;; "*" marks basic blocks that calculate same expression
+	 ;; Ideally, all calculation would be moved to block 2.

No, this pessimizes the path 2->4->6. It may cause a massive number of expressions to be hoisted above switch statements, see PR24123 for a similar failure.

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]