[llvm] [Float2Int] Resolve FIXME: Pick the smallest legal type that fits (PR #79158)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 11:36:15 PDT 2024


AtariDreams wrote:

> int main() {
>     volatile int x = 1;
>     int c = (x > 0) ? 1 : 0;
>     return static_cast<unsigned char>(255.f * c);
> }

give me a sec to investigate.

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


More information about the llvm-commits mailing list