[PATCH] D61516: [SelectionDAG] fold 'fneg undef' to undef

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 08:41:47 PDT 2019


arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/X86/vec_fneg.ll:52
-; X64-SSE2-NEXT:    retq
+; X64-SSE-LABEL: scalar_fsub_neg0_undef:
+; X64-SSE:       # %bb.0:
+; X64-SSE-NEXT:    retq
   %r = fsub float -0.0, undef
   ret float %r
----------------
It seems problematic that the DAG lowering is still producing an fneg for this


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

https://reviews.llvm.org/D61516





More information about the llvm-commits mailing list