[llvm] [LoopFusion] Fix sink instructions (PR #147501)
Ryotaro Kasuga via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 10 18:20:36 PDT 2025
================
@@ -0,0 +1,86 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -passes=mem2reg,loop-rotate,loop-fusion < %s 2>&1 | FileCheck %s
----------------
kasuga-fj wrote:
Tests should be as concise as possible. In this case, this test should not rely on passes other than loop-fusion. It would be better to replace the input IR with the result of applying mem2reg and loop-rotate and run only loop-fuse.
https://github.com/llvm/llvm-project/pull/147501
More information about the llvm-commits
mailing list