I tried creating intrinsics which
are to be placeholders for a set of instructions which
should not be executed by the backend.
In this process I want to replace the uses of each
instruction with the intrinsic(Call) instruction.
I am puzzled about the return type to be used in the
intrinsic defintion(for creating the intrinsic) which
is to be included in the Intrinsics.td file.
Do we need to create a number of intrinsics with
different return types?
If so i want to know the set of types which
collectively encompass all the possibilities posed by
the instruction type
I would for example try to map all dependencies via
intrinsic types: anyint,anyfloat and ptr_ty. Would
that be sufficient
there any simpler approach to this? As far as i
return value" and not the C semantics of void. The
strong type system
me fear that this approach won't work either?