[PATCH] D110467: [ISEL] Legalize arithmetic.fence.f128 for 32-bits target

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 01:24:22 PDT 2021


pengfei accepted this revision.
pengfei added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:212-214
+  SDValue NewFence = DAG.getNode(ISD::ARITH_FENCE, SDLoc(N), Ty,
+                                 GetSoftenedFloat(N->getOperand(0)));
+  return NewFence;
----------------
Nit: We can return it directly.


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

https://reviews.llvm.org/D110467



More information about the llvm-commits mailing list