; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s ;; We test the complete .ll for adjustment in outer loop header/latch and inner loop header/latch. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @A = common global [100 x [100 x i32]] zeroinitializer @C = common global [100 x [100 x i32]] zeroinitializer ;; FIXME: ;; Test for interchange when we have an lcssa phi. This should ideally be interchanged but it is currently not supported. ;; for(gi=1;gi