llvm-project/clang/lib/Parse
Reid Kleckner 185940a765 MS asm: Filter out fpsw clobbers
When parsing MS inline assembly, we note that fpsw is an implicit def of
most x87 FP operations, and add it to the clobber list.  However, we
don't recognize fpsw as a gcc register name, and we assert.  Clang
always adds an fpsr clobber, which means the same thing to LLVM, so we
can just use that.

This test case was broken by my LLVM change r196939.

Reviewers: echristo

Differential Revision: http://llvm-reviews.chandlerc.com/D2993

llvm-svn: 204878
2014-03-27 00:00:03 +00:00
..
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ParseAST.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-12 05:09:18 +00:00
ParseCXXInlineMethods.cpp Rename getResultType() on function and method declarations to getReturnType() 2014-01-25 16:55:45 +00:00
ParseDecl.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-12 05:09:18 +00:00
ParseDeclCXX.cpp [cleanup] Re-sort includes with llvm/utils/sort_includes.py and fix 2014-03-04 10:05:20 +00:00
ParseExpr.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-12 05:09:18 +00:00
ParseExprCXX.cpp Allow GNU-style attributes on lambda expressions. 2014-03-12 00:01:07 +00:00
ParseInit.cpp Remove dead return in Parser::MayBeDesignationStart(). 2014-03-06 05:37:32 +00:00
ParseObjc.cpp Objective-C. Improve diagnostic error for '@import' 2014-03-26 22:02:43 +00:00
ParseOpenMP.cpp [OPENMP] parsing of clause 'safelen' (for directive 'omp simd') 2014-03-21 04:51:18 +00:00
ParsePragma.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-12 05:09:18 +00:00
ParseStmt.cpp MS asm: Filter out fpsw clobbers 2014-03-27 00:00:03 +00:00
ParseTemplate.cpp Introduce and use Decl::getAsFunction() to simplify templated function checks 2014-01-22 07:29:52 +00:00
ParseTentative.cpp TryConsume parser cleanups 2014-01-10 11:19:30 +00:00
Parser.cpp Fix crash if delayed template parsing meets an erroneous trailing return type. 2014-03-12 23:14:33 +00:00
RAIIObjectsForParser.h ExpectAndConsume: Diagnose errors automatically 2014-01-01 03:08:43 +00:00