Adds accessor functions for all the fields in llvm::fltSemantics. This will be used in MergeFunctions to order two APFloats with different semanatics.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
lgtm
For observers: @jrkoenig's purpose could also be achieved with bool operator==(const fltSemantics &, const fltSemantics &). Exposing the getters seems simpler, but I'm OK with either.
Comment Actions
Actually, it would need to be bool operator<(const fltSemantics &, const fltSemantics &), which is not generally useful. I need to totally order APFloats, not just compare for equality.