[clang] [llvm] [ADT] Identify fltSemantics by kind instead of by address (PR #247834)

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 1 22:48:33 PST 2026


brad0 wrote:

> I generated an almost complete solution a couple months (2 paths actually) ago but mostly forgot about it. My APFloat solution ended up different than this.

This PR isn't meant to be a solution like your patch set. It's a small cleanup: SemanticsToEnum becomes a field read, and some address compares go away. It should still work with your branch, since your variants would just get their own kind. If it gets in the way of your stack, I can drop it.

https://github.com/llvm/llvm-project/pull/247834


More information about the cfe-commits mailing list