[PATCH] D47141: [x86] invpcid LLVM intrinsic

Gabor Buella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 21 07:54:26 PDT 2018


GBuella created this revision.
GBuella added a reviewer: craig.topper.
Herald added a subscriber: llvm-commits.

Re-add the feature flag for invpcid, which was removed in r294561.
Add an intrinsic, which always uses a 32 bit integer as first argument,
while the instruction actually uses a 64 bit register in 64 bit mode
for the INVPCID_TYPE argument.


Repository:
  rL LLVM

https://reviews.llvm.org/D47141

Files:
  include/llvm/IR/IntrinsicsX86.td
  lib/Support/Host.cpp
  lib/Target/X86/X86.td
  lib/Target/X86/X86InstrInfo.td
  lib/Target/X86/X86InstrSystem.td
  lib/Target/X86/X86Subtarget.cpp
  lib/Target/X86/X86Subtarget.h
  test/CodeGen/X86/invpcid-intrinsic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47141.147783.patch
Type: text/x-patch
Size: 7105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180521/c8b98ade/attachment.bin>


More information about the llvm-commits mailing list