diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-08-06 02:43:45 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-08-06 02:43:45 +0000 |
commit | 01d7203ef8316fdd71c3cec59f8e68fb869e0dbf (patch) | |
tree | 51efd9e28de5addbea893b2742c5bca28f8e9445 /tools/lto | |
parent | 99c22aaeed3d519c0ec958c77aa35aad2e3b0ae9 (diff) | |
download | external_llvm-01d7203ef8316fdd71c3cec59f8e68fb869e0dbf.zip external_llvm-01d7203ef8316fdd71c3cec59f8e68fb869e0dbf.tar.gz external_llvm-01d7203ef8316fdd71c3cec59f8e68fb869e0dbf.tar.bz2 |
Factor FlattenCFG out from SimplifyCFG
Patch by: Mei Ye
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto')
-rw-r--r-- | tools/lto/LTOCodeGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp index 776a5b9..6139ade 100644 --- a/tools/lto/LTOCodeGenerator.cpp +++ b/tools/lto/LTOCodeGenerator.cpp @@ -118,7 +118,7 @@ void LTOCodeGenerator::initializeLTOPasses() { initializeGVNPass(R); initializeMemCpyOptPass(R); initializeDCEPass(R); - initializeCFGCanonicalizePass(R); + initializeCFGSimplifyPassPass(R); } bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg) { |