[llvm] [LoopRotation] Enable LoopRotation with -Oz if header folds (PR #72842)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 14:13:57 PST 2024


================
@@ -0,0 +1,39 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt < %s -S -Oz -debug -debug-only=loop-rotate 2>&1 | FileCheck %s -check-prefix=OZ
----------------
nikic wrote:

If you want to test `-Oz`, this must go into the PhaseOrdering directory -- and you also need dedicated tests for only LoopRotate. Also, do not test debug output.

https://github.com/llvm/llvm-project/pull/72842


More information about the llvm-commits mailing list