[llvm-dev] computeKnownBits doesn't handle ISD::ConstantFP

Friedman, Eli via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 19 10:53:04 PST 2018


On 1/19/2018 4:01 AM, Jon Chesterfield via llvm-dev wrote:
> SelectionDAG's computeKnownBits has no case for ConstantFP, e.g. 
> Known.ones = cast <ConstantFPSDNode>(Op)->getValueAFP 
> ().bitcastToAPInt ();

This was added in https://reviews.llvm.org/rL316831 .

-Eli

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project



More information about the llvm-dev mailing list