[X86] Make X86TargetLowering::BuildFILD return a std::pair of SDValues so we explicit...
authorCraig Topper <craig.topper@intel.com>
Fri, 6 Dec 2019 01:47:33 +0000 (17:47 -0800)
committerCraig Topper <craig.topper@intel.com>
Fri, 6 Dec 2019 01:54:21 +0000 (17:54 -0800)
commit8267be29955e3df2baada1443a92d82ca9d979cc
treea787648e74be8b155f8bf78e4809e38b4aeb18da
parent3041434450e6c9cbc3476289f7c862f346126296
[X86] Make X86TargetLowering::BuildFILD return a std::pair of SDValues so we explicitly return the chain instead of calling getValue on the single SDValue.

We shouldn't assume that the returned result can be used to get
the other result.

This is prep-work for strict FP where we will also need to pass
the chain result along in more cases.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h