Make DataLayout Non-Optional in the Module
[oota-llvm.git] / test / Transforms / IndVarSimplify / widen-loop-comp.ll
index 6be2238ce9aea151b43d40151dbdcd0332fd21d5..eb81ceb700b0fdbc08e7892e286575da92c32ab2 100644 (file)
@@ -1,6 +1,10 @@
 ; RUN: opt < %s -indvars -S | FileCheck %s
 target triple = "aarch64--linux-gnu"
 
+; Provide legal integer types.
+target datalayout = "n8:16:32:64"
+
+
 ; Check the loop exit i32 compare instruction and operand are widened to i64
 ; instead of truncating IV before its use in the i32 compare instruction.