These apparently need to be proper builtins to handle the Windows SDK.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
| Paths 
 |  Differential  D53916  
[ARM64] [Windows] Implement _InterlockedExchangeAdd*_* builtins. ClosedPublic Authored by efriedma on Oct 30 2018, 5:54 PM. 
Details Summary These apparently need to be proper builtins to handle the Windows SDK. 
Diff Detail 
 Event TimelineHerald added subscribers: kristina, jfb, chrib and 2 others.  ·  View Herald TranscriptOct 30 2018, 5:54 PM This revision is now accepted and ready to land.Oct 30 2018, 6:19 PM Closed by commit rC345779: [ARM64] [Windows] Implement _InterlockedExchangeAdd*_* builtins. (authored by efriedma).  ·  Explain WhyOct 31 2018, 2:35 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 171849 include/clang/Basic/BuiltinsAArch64.def
 include/clang/Basic/BuiltinsARM.def
 lib/CodeGen/CGBuiltin.cpp
 
 lib/Headers/intrin.h
 test/CodeGen/ms-intrinsics.c
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This generalized nicely. :)