[llvm] [LoopInterchange] Drop nuw/nsw flags from reduction ops when interchanging (PR #148612)

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 02:05:33 PDT 2025


================
@@ -0,0 +1,731 @@
+; RUN: opt < %s -passes=loop-interchange -cache-line-size=64 -pass-remarks-output=%t -disable-output \
+; RUN:     -verify-dom-info -verify-loop-info -verify-loop-lcssa
+; RUN: FileCheck -input-file=%t %s
+
+; Check that exchanging the loops is legal for the bitwise-or reduction.
----------------
sjoerdmeijer wrote:

Nitpick: exchanging -> interchanging? Maybe that's a bit more consistent. 
Same for other comments. 

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


More information about the llvm-commits mailing list