[PATCH] Intrinsics: introduce llvm_any_ty aka ValueType Any

Ramkumar Ramachandra artagnon at gmail.com
Fri Jan 16 13:02:01 PST 2015


Hi reames, spatel, delena,

Specifically, gc.result benefits from this greatly. Instead of:

gc.result.int.*
gc.result.float.*
gc.result.ptr.*
...

We now have a gc.result.* that can specialize to literally any type.

http://reviews.llvm.org/D7020

Files:
  docs/Statepoints.rst
  include/llvm/CodeGen/MachineValueType.h
  include/llvm/CodeGen/ValueTypes.td
  include/llvm/IR/Intrinsics.h
  include/llvm/IR/Intrinsics.td
  lib/Analysis/TargetTransformInfo.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/IR/IRBuilder.cpp
  lib/IR/Statepoint.cpp
  lib/IR/Verifier.cpp
  test/CodeGen/X86/statepoint-call-lowering.ll
  test/CodeGen/X86/statepoint-stackmap-format.ll
  utils/TableGen/CodeGenDAGPatterns.cpp
  utils/TableGen/CodeGenTarget.cpp
  utils/TableGen/IntrinsicEmitter.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7020.18314.patch
Type: text/x-patch
Size: 16139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150116/4e4b829f/attachment.bin>


More information about the llvm-commits mailing list