From ce12a2b71afaaf511768ea9b9f3b78ca8a883cf3 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Fri, 16 May 2008 04:33:37 +0000 Subject: [PATCH] Use loop deletion instead of ADCE in these tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51180 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/LICM/2003-02-27-PreheaderProblem.ll | 2 +- test/Transforms/SCCP/calltest.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll b/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll index 117c5c3aaf2..18b86064ed0 100644 --- a/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll +++ b/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll @@ -3,7 +3,7 @@ ; happens because preheader insertion doesn't insert a preheader for this ; case... bad. -; RUN: llvm-as < %s | opt -licm -adce -simplifycfg | llvm-dis | \ +; RUN: llvm-as < %s | opt -licm -loop-deletion -simplifycfg | llvm-dis | \ ; RUN: not grep {br } define i32 @main(i32 %argc) { diff --git a/test/Transforms/SCCP/calltest.ll b/test/Transforms/SCCP/calltest.ll index 481ba9c229a..ee6eb8e4a80 100644 --- a/test/Transforms/SCCP/calltest.ll +++ b/test/Transforms/SCCP/calltest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -sccp -adce -simplifycfg | llvm-dis | \ +; RUN: llvm-as < %s | opt -sccp -loop-deletion -simplifycfg | llvm-dis | \ ; RUN: not grep br ; No matter how hard you try, sqrt(1.0) is always 1.0. This allows the