[Constant] add floating-point helpers for normal/finite-nz; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 16 Feb 2018 22:32:54 +0000 (22:32 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 16 Feb 2018 22:32:54 +0000 (22:32 +0000)
commit08868e494e38ecd10248f7a05957a9b5f6dc3df8
tree1129522500f85e4e06b2fc59cbd587812686889c
parent14ee1140c10ba2e44a4e3038136bdd19a47c97fe
[Constant] add floating-point helpers for normal/finite-nz; NFC

...and delete the equivalent local functiona from InstCombine.

These might be useful to other InstCombine files or other passes
and makes FP queries more similar to integer constant queries.

llvm-svn: 325398
llvm/include/llvm/IR/Constant.h
llvm/lib/IR/Constants.cpp
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp