correct suffix matching to search for s/l/t suffixes on
[oota-llvm.git] / test / Transforms / IndVarSimplify / promote-iv-to-eliminate-casts.ll
index 08b08f200ec41f1e555ede9ae5cc917bf38f8347..a007ca60b08f955e7213671ba951fc32a4e72904 100644 (file)
@@ -1,6 +1,5 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | not grep sext
-
-target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
+; RUN: opt < %s -indvars -S > %t
+; RUN: not grep sext %t
 
 define i64 @test(i64* nocapture %first, i32 %count) nounwind readonly {
 entry: