[PATCH] D88570: [SDag] SimplifyDemandedBits: simplify to FP constant if all bits known

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 11:33:31 PDT 2020


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/uint_to_fp-2.ll:11
+; CHECK-NEXT:    orpd {{\.LCPI.*}}, %xmm0
+; CHECK-NEXT:    subsd {{\.LCPI.*}}, %xmm0
+; CHECK-NEXT:    cvtsd2ss %xmm0, %xmm0
----------------
@craig.topper @spatel This looks like we're loading the same constant as (double x) and <double x, double ???> - do you know if we already have examples of this or is this a new type of regression?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88570/new/

https://reviews.llvm.org/D88570



More information about the llvm-commits mailing list