[PATCH] D69556: [CodeGen] Move ARMCodegenPrepare to TypePromotion

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 22:40:31 PDT 2019


craig.topper added inline comments.


================
Comment at: lib/CodeGen/TypePromotion.cpp:47
 static cl::opt<bool>
-DisableCGP("arm-disable-cgp", cl::Hidden, cl::init(true),
-           cl::desc("Disable ARM specific CodeGenPrepare pass"));
-
-static cl::opt<bool>
-EnableDSP("arm-enable-scalar-dsp", cl::Hidden, cl::init(false),
-          cl::desc("Use DSP instructions for scalar operations"));
-
-static cl::opt<bool>
-EnableDSPWithImms("arm-enable-scalar-dsp-imms", cl::Hidden, cl::init(false),
-                   cl::desc("Use DSP instructions for scalar operations\
-                            with immediate operands"));
+DisablePromotion("disable-type-promotion", cl::Hidden, cl::init(true),
+                 cl::desc("Disable type promotion pass"));
----------------
So this pass is off by default on ARM?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69556/new/

https://reviews.llvm.org/D69556





More information about the llvm-commits mailing list