From 4c07450305ba90724dcd3fd419cbeb8ae09e45a6 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 1 Jan 2008 01:34:36 +0000 Subject: [PATCH] Update this testcase. The output needs to be disabled to pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45478 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/LICM/scalar_promote.ll | 48 ++++++++++++-------------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/test/Transforms/LICM/scalar_promote.ll b/test/Transforms/LICM/scalar_promote.ll index 7bc4f065ef9..f6c0f0821a3 100644 --- a/test/Transforms/LICM/scalar_promote.ll +++ b/test/Transforms/LICM/scalar_promote.ll @@ -1,37 +1,35 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -licm -stats |& \ +; RUN: llvm-as < %s | opt -licm -disable-output -stats |& \ ; RUN: grep {memory locations promoted to register} +@X = global i32 7 ; [#uses=4] -%X = global int 7 - -void %testfunc(int %i) { +define void @testfunc(i32 %i) { +;