X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FTransforms%2FInstCombine%2Fsitofp.ll;h=bd31b89f7879afc5c7ae73046c8033c4d6341515;hb=b55dcfe47fbbcfc1dccd07cb27c02b9a86533d05;hp=c26c351a741eec8a1ef1a346c0eaba3208391a45;hpb=5af5f463e1b95e2af8d69591d07282427c2dc6a4;p=oota-llvm.git diff --git a/test/Transforms/InstCombine/sitofp.ll b/test/Transforms/InstCombine/sitofp.ll index c26c351a741..bd31b89f787 100644 --- a/test/Transforms/InstCombine/sitofp.ll +++ b/test/Transforms/InstCombine/sitofp.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep itofp +; RUN: opt < %s -instcombine -S | not grep itofp define i1 @test1(i8 %A) { %B = sitofp i8 %A to double @@ -36,7 +36,7 @@ define i32 @test6(i32 %A) { %C = and i32 %A, 32 ; [#uses=1] %D = sitofp i32 %B to double ; [#uses=1] %E = sitofp i32 %C to double ; [#uses=1] - %F = add double %D, %E ; [#uses=1] + %F = fadd double %D, %E ; [#uses=1] %G = fptosi double %F to i32 ; [#uses=1] ret i32 %G }