; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s ;; We test profitability model in these test cases. 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 @B = common global [100 x [100 x i32]] zeroinitializer ;;---------------------------------------Test case 01--------------------------------- ;; Loops interchange will result in code vectorization and hence profitable. Check for interchange. ;; for(int i=1;i