[all-commits] [llvm/llvm-project] 890c6e: [X86] Remove forward declaration of _invpcid from ...

topperc via All-commits all-commits at lists.llvm.org
Mon Nov 25 16:28:06 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 890c6ef1fb1350dd8e6b7b25da411cffbeaf6553
      https://github.com/llvm/llvm-project/commit/890c6ef1fb1350dd8e6b7b25da411cffbeaf6553
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2019-11-25 (Mon, 25 Nov 2019)

  Changed paths:
    M clang/lib/Headers/intrin.h

  Log Message:
  -----------
  [X86] Remove forward declaration of _invpcid from intrin.h. Rely on inline version from immintrin.h

The forward declaration had a cdecl calling convention, but the
inline version did not. This leads to a conflict if the default
calling convention is not cdecl. Fix this by just removing the
forward declaration.

Fixes PR41503




More information about the All-commits mailing list