Displaying 1 result from an estimated 1 matches for "optional_tuple".
2020 Feb 12
6
[RFC] Optional parameter tuples
Hi,
this is an RFC for optional, named parameter tuples for intrinsics. The proposed syntax is:
%z = call @llvm.some.intrinsic(%a, %b) optional_tuple(%x, %y, %z)
where from the perspective of the call site %x, %y and %z are simply additional parameters.
Optional parameter tuples would be very useful for constrained fp intrinsics and vector predication. Some examples:
; Default fpenv fadd (isomorphic to the fadd instruction)
%z = call double @...