[PATCH] D65403: [COFF, ARM64] Reorder handling of aarch64 MSVC builtins

David Major via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 29 09:46:33 PDT 2019


dmajor created this revision.
dmajor added reviewers: mgrang, efriedma, hans.
Herald added subscribers: kristina, jfb, kristof.beyls, javed.absar.
Herald added a project: clang.

In `CodeGenFunction::EmitAArch64BuiltinExpr()`, bulk move of all of the aarch64 MSVC-builtin cases to an earlier point in the function (the `// Handle non-overloaded intrinsics first.` switch block) in order to avoid an unreachable in `GetNeonType()`. The NEON type-overloading logic is not appropriate for the Windows builtins.

Fixes https://llvm.org/pr42775


Repository:
  rC Clang

https://reviews.llvm.org/D65403

Files:
  lib/CodeGen/CGBuiltin.cpp
  test/CodeGen/arm64-microsoft-intrinsics.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65403.212181.patch
Type: text/x-patch
Size: 16123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190729/b03dacc0/attachment-0001.bin>


More information about the cfe-commits mailing list