[llvm-dev] Unexpected dag combine in arm64
Friedman, Eli via llvm-dev
llvm-dev at lists.llvm.org
Tue Sep 5 11:27:58 PDT 2017
On 9/5/2017 4:01 AM, Jon Chesterfield via llvm-dev wrote:
> There are some generic DAGCombine functions which replace an
> SDNode with a newly created but otherwise equivalent SDNode.
> Specifically, visit for SINT_TO_FP, UINT_TO_FP, FP_TO_SINT,
> FP_TO_UINT where the operand is a constant. This unconditionally
> prevents target specific dag combines from executing for these nodes.
If you want to materialize a floating-point constant using an
integer-to-floating-point conversion, I would suggest using a
target-specific node rather than a target-independent one.
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev