[Float2Int] Extract calcRange() method (NFC)
authorNikita Popov <npopov@redhat.com>
Thu, 31 Mar 2022 14:06:46 +0000 (16:06 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 31 Mar 2022 14:13:13 +0000 (16:13 +0200)
commitf66975555fec57e55f3d72d06d8bc83472cd2c1e
tree6508e3254ba50885b6e3b6930616691f0067190c
parentd81fa76f3a6b698d9d76e610eb0a8c0f7ea82eaf
[Float2Int] Extract calcRange() method (NFC)

This avoids the awkward "Abort" flag, because we can simply
early-return instead.
llvm/include/llvm/Transforms/Scalar/Float2Int.h
llvm/lib/Transforms/Scalar/Float2Int.cpp