From 2f192c256c28f3b6c018f59e96380cd26f59c767 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 30 Oct 2009 20:12:24 +0000 Subject: Add option to createGVNPass to disable PRE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85609 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Scalar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index f019d35..e01b5dd 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -271,7 +271,7 @@ extern const PassInfo *const LCSSAID; // GVN - This pass performs global value numbering and redundant load // elimination cotemporaneously. // -FunctionPass *createGVNPass(); +FunctionPass *createGVNPass(bool NoPRE = false); //===----------------------------------------------------------------------===// // -- cgit v1.1