This adds a new helper function for retrieving the floating point type corresponding to the specified bit-width.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Should this be a unit test then, since there is no in-tree target currently requiring a libcall for this?
Comment Actions
Unit tests added for the previously unsupported extensions & truncations.
Tightened the size check for simple libcalls to avoid crash on unsupported libcalls.
It might be better to pass the LLT instead of just the size in case new exotic LLTs are introduced for weird FP types in the future