]> granicus.if.org Git - clang/commit
Support __iso_volatile_load8 etc on aarch64-win32.
authorSimon Tatham <simon.tatham@arm.com>
Wed, 30 May 2018 07:54:05 +0000 (07:54 +0000)
committerSimon Tatham <simon.tatham@arm.com>
Wed, 30 May 2018 07:54:05 +0000 (07:54 +0000)
commit206c89ddd55203e15bb0e776bafc6762a34134cb
tree01c961f7281b281a2adaab1bb0a9c96492d574e3
parentcb6be1e264af49094529e6d87e697dda3647600b
Support __iso_volatile_load8 etc on aarch64-win32.

These intrinsics are used by MSVC's header files on AArch64 Windows as
well as AArch32, so we should support them for both targets. I've
factored them out of CodeGenFunction::EmitARMBuiltinExpr into separate
functions that EmitAArch64BuiltinExpr can call as well.

Reviewers: javed.absar, mstorsjo

Reviewed By: mstorsjo

Subscribers: kristof.beyls, cfe-commits

Differential Revision: https://reviews.llvm.org/D47476

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333513 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsAArch64.def
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGen/ms-volatile-aarch64.c [new file with mode: 0644]