[PATCH] D48467: [X86] Recognize a splat of negate in isFNEG
Easwaran Raman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 2 11:10:03 PDT 2018
eraman added a comment.
In https://reviews.llvm.org/D48467#1181907, @RKSimon wrote:
> @eraman Please can you take a look at https://reviews.llvm.org/rL338358 - this shows how to use getTargetConstantBitsFromNode to avoid a lot of extra checks you need from using getTargetConstantFromNode directly
I have updated the code to make use of this. I had to extend getTargetConstantBitsFromNode to support build vector of ConstantFPSDNodes. PTAL.
Repository:
rL LLVM
https://reviews.llvm.org/D48467
More information about the llvm-commits
mailing list