Return undef on FP <-> Int conversions that overflow (PR21330).
[oota-llvm.git] / test / Transforms / IndVarSimplify / iv-zext.ll
index b7628154d72b453cbc5dc589852337d631c9586e..ed0514b08e332a9807705b9fd140271280c21acd 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: opt %s -indvars | llvm-dis > %t
-; RUN: not grep and %t
-; RUN: not grep zext %t
+; RUN: opt < %s -indvars -S | FileCheck %s
+; CHECK-NOT: and
+; CHECK-NOT: zext
 
-target datalayout = "-p:64:64:64"
+target datalayout = "p:64:64:64-n32:64"
 
 define void @foo(double* %d, i64 %n) nounwind {
 entry: