[llvm] b409f73 - [ARM][TypePromotion] Re-enable by default

Sam Parker via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 31 03:33:43 PST 2019


Author: Sam Parker
Date: 2019-12-31T11:31:06Z
New Revision: b409f73e1fd8e498a2bff4208eeadf023959a0f7

URL: https://github.com/llvm/llvm-project/commit/b409f73e1fd8e498a2bff4208eeadf023959a0f7
DIFF: https://github.com/llvm/llvm-project/commit/b409f73e1fd8e498a2bff4208eeadf023959a0f7.diff

LOG: [ARM][TypePromotion] Re-enable by default

Re-enable the pass after it was reverted and the bug fixed.

Added: 
    

Modified: 
    llvm/lib/CodeGen/TypePromotion.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/TypePromotion.cpp b/llvm/lib/CodeGen/TypePromotion.cpp
index cf4ce2eb5809..c547a23f93ff 100644
--- a/llvm/lib/CodeGen/TypePromotion.cpp
+++ b/llvm/lib/CodeGen/TypePromotion.cpp
@@ -47,7 +47,7 @@
 using namespace llvm;
 
 static cl::opt<bool>
-DisablePromotion("disable-type-promotion", cl::Hidden, cl::init(true),
+DisablePromotion("disable-type-promotion", cl::Hidden, cl::init(false),
                  cl::desc("Disable type promotion pass"));
 
 // The goal of this pass is to enable more efficient code generation for


        


More information about the llvm-commits mailing list