; RUN: opt < %s -passes=loop-interchange -cache-line-size=64 -pass-remarks-missed='loop-interchange' -pass-remarks-output=%t -S \ ; RUN: -verify-dom-info -verify-loop-info -verify-loop-lcssa 2>&1 | FileCheck -check-prefix=IR %s ; RUN: FileCheck --input-file=%t %s ; Both tests should be rejected as interchange candidates. For now, they are ; rejected for dependence analysis reasons, but that's because support for 'S' ; scalar dependencies was removed. When that is properly, the inner loop only ; reductions should still not be supported currently, see discussion at D53027 ; for more information on the required checks. @A = common global [500 x [500 x i32]] zeroinitializer @X = common global i32 0 @B = common global [500 x [500 x i32]] zeroinitializer @Y = common global i32 0 ;; global X ;; for( int i=1;i