r282576 - ASTMerge: specify arch for GCCAsmStmt test explicitly to calm non-x86 buildbots

Aleksei Sidorin via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 28 03:57:37 PDT 2016


Author: a.sidorin
Date: Wed Sep 28 05:57:36 2016
New Revision: 282576

URL: http://llvm.org/viewvc/llvm-project?rev=282576&view=rev
Log:
ASTMerge: specify arch for GCCAsmStmt test explicitly to calm non-x86 buildbots


Modified:
    cfe/trunk/test/ASTMerge/Inputs/exprs3.cpp

Modified: cfe/trunk/test/ASTMerge/Inputs/exprs3.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ASTMerge/Inputs/exprs3.cpp?rev=282576&r1=282575&r2=282576&view=diff
==============================================================================
--- cfe/trunk/test/ASTMerge/Inputs/exprs3.cpp (original)
+++ cfe/trunk/test/ASTMerge/Inputs/exprs3.cpp Wed Sep 28 05:57:36 2016
@@ -104,17 +104,6 @@ void testOffsetOf() {
 }
 
 
-unsigned char asmFunc(unsigned char a, unsigned char b) {
-  unsigned int la = a;
-  unsigned int lb = b;
-  unsigned int bigres;
-  unsigned char res;
-  __asm__ ("0:\n1:\n" : [bigres] "=la"(bigres) : [la] "0"(la), [lb] "c"(lb) :
-                        "edx", "cc");
-  res = bigres;
-  return res;
-}
-
 int testDefaultArg(int a = 2*2) {
   return a;
 }




More information about the cfe-commits mailing list