[PATCH] D12532: [TableGen] Allow TokenTy in intrinsic signatures

Joseph Tremoulet via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 08:57:52 PDT 2015


JosephTremoulet created this revision.
JosephTremoulet added reviewers: majnemer, rnk.
JosephTremoulet added subscribers: llvm-commits, stoklund.

Add the necessary plumbing so that llvm_token_ty can be used as an
argument/return type in intrinsic definitions and correspondingly require
TokenTy in function types.  TokenTy is an opaque type that has no target
lowering, but can be used in machine-independent intrinsics.  It is
required for the upcoming llvm.eh.padparam intrinsic.

http://reviews.llvm.org/D12532

Files:
  include/llvm/CodeGen/MachineValueType.h
  include/llvm/CodeGen/ValueTypes.td
  include/llvm/IR/Intrinsics.h
  include/llvm/IR/Intrinsics.td
  lib/IR/Function.cpp
  lib/IR/Verifier.cpp
  utils/TableGen/CodeGenTarget.cpp
  utils/TableGen/IntrinsicEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12532.33693.patch
Type: text/x-patch
Size: 6985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150901/0489bd80/attachment.bin>


More information about the llvm-commits mailing list