mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Generalize my previous fix for -print-options.
Always print options that differ from their implicit default. At least for simple option types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176572 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1090,7 +1090,7 @@ public:
|
|||||||
|
|
||||||
// Make sure we initialize the value with the default constructor for the
|
// Make sure we initialize the value with the default constructor for the
|
||||||
// type.
|
// type.
|
||||||
opt_storage() : Value(DataType()) {}
|
opt_storage() : Value(DataType()), Default(DataType()) {}
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
void setValue(const T &V, bool initial = false) {
|
void setValue(const T &V, bool initial = false) {
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
RunLoopVectorization("vectorize-loops", cl::init(false),
|
RunLoopVectorization("vectorize-loops",
|
||||||
cl::desc("Run the Loop vectorization passes"));
|
cl::desc("Run the Loop vectorization passes"));
|
||||||
|
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
|
Reference in New Issue
Block a user