Intrinsics: introduce llvm_any_ty aka ValueType Any
authorRamkumar Ramachandra <artagnon@gmail.com>
Thu, 22 Jan 2015 20:14:38 +0000 (20:14 +0000)
committerRamkumar Ramachandra <artagnon@gmail.com>
Thu, 22 Jan 2015 20:14:38 +0000 (20:14 +0000)
commit230796b2783ef67f305f94fb880e272cdc4fe4a3
tree93644f79f2f30e1c705b5df5bd4a741a27469f39
parent7ed0364cee76de015ada95cfe08073e3b8cba825
Intrinsics: introduce llvm_any_ty aka ValueType Any

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.

Differential Revision: http://reviews.llvm.org/D7020

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226857 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
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