diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-02-26 18:35:19 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-02-26 18:35:19 +0000 |
commit | d4655991c36606b8317612e4dd1fb90ccb9d9981 (patch) | |
tree | 8bfee624b1590dbbde83dd5de3d3663c50843f8b /llvm/lib/CodeGen | |
parent | bb592eb9d08f497cb444819a6687ceb1a4007d79 (diff) | |
download | bcm5719-llvm-d4655991c36606b8317612e4dd1fb90ccb9d9981.tar.gz bcm5719-llvm-d4655991c36606b8317612e4dd1fb90ccb9d9981.zip |
Remove unused "NoPRE" parameter in GVN and createGVNPass().
llvm-svn: 97235
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 278de0269b6..e3d0bbdaf4f 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -227,7 +227,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, // Optionally, tun split-GEPs and no-load GVN. if (EnableSplitGEPGVN) { PM.add(createGEPSplitterPass()); - PM.add(createGVNPass(/*NoPRE=*/false, /*NoLoads=*/true)); + PM.add(createGVNPass(/*NoLoads=*/true)); } // Run loop strength reduction before anything else. |