hanchenye-llvm-project/clang/lib/Frontend
Sanjay Patel 76c9e0986c Process the -fno-signed-zeros optimization flag (PR20870)
The driver currently accepts but ignores the -fno-signed-zeros flag. 
This patch passes the flag through and enables 'nsz' fast-math-flag 
generation in IR.

The existing OpenCL flag for the same functionality is made into an
alias here. It may be removed in a subsequent patch.

This should resolve bug 20870 ( http://llvm.org/bugs/show_bug.cgi?id=20870 );
patches for the optimizer were checked in at:
http://llvm.org/viewvc/llvm-project?view=revision&revision=225050
http://llvm.org/viewvc/llvm-project?view=revision&revision=224583

Differential Revision: http://reviews.llvm.org/D6873

llvm-svn: 226915
2015-01-23 16:40:50 +00:00
..
Rewrite Rename RefersToCapturedVariable to RefersToEnclosingVariableOrCapture, NFC 2015-01-12 10:17:46 +00:00
ASTConsumers.cpp
ASTMerge.cpp
ASTUnit.cpp Make DiagnosticsEngine::takeClient return std::unique_ptr<> 2014-11-17 23:46:02 +00:00
CMakeLists.txt Move CodeGenOptions constructor out-of-line and add missing headers. NFC. 2014-11-11 00:22:12 +00:00
CacheTokens.cpp Standardize on StringMap::insert, removing uses of StringMap::GetOrCreateValue. 2014-11-19 03:06:06 +00:00
ChainedDiagnosticConsumer.cpp
ChainedIncludesSource.cpp
CodeGenOptions.cpp [cleanup] Re-sort *all* #include lines with llvm/utils/sort_includes.py 2015-01-14 11:29:14 +00:00
CompilerInstance.cpp PR22299: Relocate code for handling -fmodule-map-file= so that we don't try to 2015-01-23 00:01:13 +00:00
CompilerInvocation.cpp Process the -fno-signed-zeros optimization flag (PR20870) 2015-01-23 16:40:50 +00:00
CreateInvocationFromCommandLine.cpp Driver: Use pointee_iterator rather than iterating over unique_ptrs 2014-10-03 01:04:53 +00:00
DependencyFile.cpp Update for LLVM API change 2014-11-19 02:56:13 +00:00
DependencyGraph.cpp
DiagnosticRenderer.cpp
FrontendAction.cpp PR22299: Relocate code for handling -fmodule-map-file= so that we don't try to 2015-01-23 00:01:13 +00:00
FrontendActions.cpp [modules] Track how 'header' directives were written in module map files, 2014-12-02 00:08:08 +00:00
FrontendOptions.cpp
HeaderIncludeGen.cpp
InitHeaderSearch.cpp Use isOSBinFormatMachO() instead of comparing the object format 2014-12-05 00:22:48 +00:00
InitPreprocessor.cpp [mips] Removing __SIZEOF_INT128__ macro for MIPS64 2014-12-10 15:44:07 +00:00
LangStandards.cpp
LayoutOverrideSource.cpp
LogDiagnosticPrinter.cpp Add DiagID and Warning Flag to DiagnosticsLog 2014-11-14 21:23:56 +00:00
Makefile
ModuleDependencyCollector.cpp [cleanup] Re-sort *all* #include lines with llvm/utils/sort_includes.py 2015-01-14 11:29:14 +00:00
MultiplexConsumer.cpp Remove ASTConsumer::HandleVTable()'s bool parameter. 2015-01-15 04:07:35 +00:00
PrintPreprocessedOutput.cpp
SerializedDiagnosticPrinter.cpp [cleanup] Re-sort *all* #include lines with llvm/utils/sort_includes.py 2015-01-14 11:29:14 +00:00
SerializedDiagnosticReader.cpp [cleanup] Re-sort *all* #include lines with llvm/utils/sort_includes.py 2015-01-14 11:29:14 +00:00
TextDiagnostic.cpp Frontend: Fix SourceColumnMap assertion failure on non-ascii characters. 2015-01-08 13:19:07 +00:00
TextDiagnosticBuffer.cpp
TextDiagnosticPrinter.cpp
VerifyDiagnosticConsumer.cpp Make DiagnosticsEngine::takeClient return std::unique_ptr<> 2014-11-17 23:46:02 +00:00