r207830 - CodeGen: reorder ARM hint

Saleem Abdulrasool compnerd at compnerd.org
Fri May 2 00:01:34 PDT 2014


Author: compnerd
Date: Fri May  2 02:01:34 2014
New Revision: 207830

URL: http://llvm.org/viewvc/llvm-project?rev=207830&view=rev
Log:
CodeGen: reorder ARM hint

__yield is part of the ACLE specified extensions and not specific to MSVC.
Move the declaration for the hint to the proper group.

Modified:
    cfe/trunk/include/clang/Basic/BuiltinsARM.def

Modified: cfe/trunk/include/clang/Basic/BuiltinsARM.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/BuiltinsARM.def?rev=207830&r1=207829&r2=207830&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/BuiltinsARM.def (original)
+++ cfe/trunk/include/clang/Basic/BuiltinsARM.def Fri May  2 02:01:34 2014
@@ -59,13 +59,11 @@ BUILTIN(__builtin_arm_crc32d, "UiUiLLUi"
 BUILTIN(__builtin_arm_crc32cd, "UiUiLLUi", "nc")
 
 // HINT
+BUILTIN(__yield, "v", "")
 BUILTIN(__sevl, "v", "")
 
 // Data barrier
 BUILTIN(__builtin_arm_dmb, "vUi", "nc")
 BUILTIN(__builtin_arm_dsb, "vUi", "nc")
 
-// MSVC
-BUILTIN(__yield, "v", "")
-
 #undef BUILTIN





More information about the cfe-commits mailing list