[clang] [llvm] Minimal support of floating-point operand bundles (PR #135658)

Kevin P. Neal via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 18 10:25:20 PDT 2025


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


More information about the cfe-commits mailing list