[PATCH] D35008: [AArch64] Produce the right kind of va_arg for windows
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 13 10:46:54 PDT 2017
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: lib/CodeGen/TargetInfo.cpp:8463
Kind = AArch64ABIInfo::DarwinPCS;
+ else if (Triple.getOS() == llvm::Triple::Win32)
+ Kind = AArch64ABIInfo::Win64;
----------------
`Triple.isOSWindows()` is probably cleaner.
https://reviews.llvm.org/D35008
More information about the cfe-commits
mailing list