mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +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:
parent
2faa0f37c2
commit
76c25dc2bf
@ -1090,7 +1090,7 @@ public:
|
||||
|
||||
// Make sure we initialize the value with the default constructor for the
|
||||
// type.
|
||||
opt_storage() : Value(DataType()) {}
|
||||
opt_storage() : Value(DataType()), Default(DataType()) {}
|
||||
|
||||
template<class T>
|
||||
void setValue(const T &V, bool initial = false) {
|
||||
|
@ -29,7 +29,7 @@
|
||||
using namespace llvm;
|
||||
|
||||
static cl::opt<bool>
|
||||
RunLoopVectorization("vectorize-loops", cl::init(false),
|
||||
RunLoopVectorization("vectorize-loops",
|
||||
cl::desc("Run the Loop vectorization passes"));
|
||||
|
||||
static cl::opt<bool>
|
||||
|
Loading…
Reference in New Issue
Block a user