[PATCH] D57642: [X86] Update clobber list in a test after D57641. Remove filter for 'fpsw' in MS inline asm clobber list generation since the backend now uses 'fpsr'.

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 4 22:14:39 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL353142: [X86] Change MS inline asm clobber list filter to check for 'fpsr' instead of… (authored by ctopper, committed by ).
Herald added a project: LLVM.

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57642/new/

https://reviews.llvm.org/D57642

Files:
  cfe/trunk/lib/Parse/ParseStmtAsm.cpp


Index: cfe/trunk/lib/Parse/ParseStmtAsm.cpp
===================================================================
--- cfe/trunk/lib/Parse/ParseStmtAsm.cpp
+++ cfe/trunk/lib/Parse/ParseStmtAsm.cpp
@@ -636,7 +636,7 @@
   // Filter out "fpsw" and "mxcsr". They aren't valid GCC asm clobber
   // constraints. Clang always adds fpsr to the clobber list anyway.
   llvm::erase_if(Clobbers, [](const std::string &C) {
-    return C == "fpsw" || C == "mxcsr";
+    return C == "fpsr" || C == "mxcsr";
   });
 
   // Build the vector of clobber StringRefs.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57642.185238.patch
Type: text/x-patch
Size: 547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190205/ec122944/attachment.bin>


More information about the cfe-commits mailing list