Make DataLayout Non-Optional in the Module
[oota-llvm.git] / test / Transforms / IndVarSimplify / ult-sub-to-eq.ll
index 642d1ba205f71fbab4175bed0606d33105dc7cde..7272ef1ec135b4cfc3e90c115f2487a21cabc8d6 100644 (file)
@@ -1,5 +1,9 @@
 ; RUN: opt -S -indvars < %s | FileCheck %s
 
+; Provide legal integer types.
+target datalayout = "n8:16:32:64"
+
+
 define void @test1(float* nocapture %autoc, float* nocapture %data, float %d, i32 %data_len, i32 %sample) nounwind {
 entry:
   %sub = sub i32 %data_len, %sample