diff options
author | Duncan Sands <baldrick@free.fr> | 2010-07-07 07:48:00 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-07-07 07:48:00 +0000 |
commit | 408bb192deefa1e54ed36964ecf8a6a9deaaa795 (patch) | |
tree | bb3a36e7f05ac4ab86c15865d7e9902209ac4160 /llvm/lib/Transforms/IPO/MergeFunctions.cpp | |
parent | b609d3f5f9fa9d2c01f3001ea1e670bb24634687 (diff) | |
download | bcm5719-llvm-408bb192deefa1e54ed36964ecf8a6a9deaaa795.tar.gz bcm5719-llvm-408bb192deefa1e54ed36964ecf8a6a9deaaa795.zip |
Rename "Release" builds as "Release+Asserts"; rename "Release-Asserts"
builds to "Release". The default build is unchanged (optimization on,
assertions on), however it is now called Release+Asserts. The intent
is that future LLVM releases released via llvm.org will be Release builds
in the new sense, i.e. will have assertions disabled (currently they have
assertions enabled, for a more than 20% slowdown). This will bring them
in line with MacOS releases, which ship with assertions disabled. It also
means that "Release" now means the same things in make and cmake builds:
cmake already disables assertions for "Release" builds AFAICS.
llvm-svn: 107758
Diffstat (limited to 'llvm/lib/Transforms/IPO/MergeFunctions.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/MergeFunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/MergeFunctions.cpp b/llvm/lib/Transforms/IPO/MergeFunctions.cpp index 74bb2c85ced..55d5e2ac4ab 100644 --- a/llvm/lib/Transforms/IPO/MergeFunctions.cpp +++ b/llvm/lib/Transforms/IPO/MergeFunctions.cpp @@ -146,7 +146,7 @@ static bool isEquivalentType(const Type *Ty1, const Type *Ty2) { switch(Ty1->getTypeID()) { default: llvm_unreachable("Unknown type!"); - // Fall through in Release-Asserts mode. + // Fall through in Release mode. case Type::IntegerTyID: case Type::OpaqueTyID: // Ty1 == Ty2 would have returned true earlier. |