[llvm] [Transforms] Resolve FIXME: Pick the smallest legal type that fits (PR #79158)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 08:36:59 PST 2024
AtariDreams wrote:
So here is a question about this patch:
Say the floating point number is -INT_MIN, aka more than INT_MAX.
It will then be delegated to an i64, as 2147483648 is 1 more than INT_MAX, but -2147483648 can be i32 as it is INT_MIN. Do I need a special case for this, or does this activate the overflow thing?
https://github.com/llvm/llvm-project/pull/79158
More information about the llvm-commits
mailing list