[llvm-dev] lower 64 bits constant
Xiangyang Guo via llvm-dev
llvm-dev at lists.llvm.org
Wed Dec 2 11:59:10 PST 2015
Thanks for your reply.
Yes, f64 is valid type. "setOperationAction(ISD::ConstantFP, MVT::f64,
Legal)" does the trick.
2015-12-02 13:36 GMT-05:00 Krzysztof Parzyszek via llvm-dev <
llvm-dev at lists.llvm.org>:
> On 12/2/2015 12:30 PM, Xiangyang Guo via llvm-dev wrote:
>> GRWideRegs can be f64 and i64. However, the 'const-long' works while the
>> 'const-double' doesn't work. From the -debug log, it seems "f64 =
>> ConstantFP" is replaced by "f64,ch = load" and this is where the error
>> happens. Can anyone tell me why this happens and how to make this work?
>> Any suggestion is appreciated.
> Is f64 a valid type for GRWideRegs?
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
> by The Linux Foundation
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev