[PATCH] Intrinsics: introduce llvm_any_ty aka ValueType Any

Ramkumar Ramachandra artagnon at gmail.com
Sun Jan 18 10:19:23 PST 2015


Elena Demikhovsky wrote:
> When you put "any", you probably mean any scalar of int, float, ptr. What happens if somebody specifies vector, i16, double or something else. May be you should put some code in the verifier?

iAny is integer-any (scalar or vector)
fAny is float-any (scalar or vector)
iPTRAny is pointer-any

By Any, I really mean absolutely anything: gc.result should be able to
return the type of the function contained in the statepoint, which
could be anything.



More information about the llvm-commits mailing list