[GlobalISel][AArch64] NFC: Factor out HasFPConstraints into a proper function
authorJessica Paquette <jpaquette@apple.com>
Fri, 24 May 2019 22:12:21 +0000 (22:12 +0000)
committerJessica Paquette <jpaquette@apple.com>
Fri, 24 May 2019 22:12:21 +0000 (22:12 +0000)
commitbede937b1678503215f7add86fb52aacefa280c3
tree305aaadb3517cd989b0bf6e9e2bf88be7205bd3a
parent78a6ae738c1b0faa9d6944b0a8fa75e45b472884
[GlobalISel][AArch64] NFC: Factor out HasFPConstraints into a proper function

Factor it out into a function, and replace places where we had the same check
with the new function.

Differential Revision: https://reviews.llvm.org/D62421

llvm-svn: 361677
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.h