kpneal wrote:

> I don't see the necessity of using operand bundles. All of the possible 
> arguments are metadata strings, not SSA values. Can't we just use metadata 
> instead?

Operand bundles are replacing the constrained intrinsics so we can use the 
bundles on the hundreds (thousands?) of intrinsics that deal with floating 
point. Because of this, we can't create new intrinsics that take additional 
metadata strings.

There's also a desire to add more floating point state to the bundles later. 
For example, denormal flushing on/off.  We can't do that with metadata strings 
now, and I haven't heard of any method to add them later. Operand bundles seems 
to be our best bet.


https://github.com/llvm/llvm-project/pull/135658
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to