[PATCH] D94958: [ARM] Add MVE add.sat costs

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 19 05:48:33 PST 2021


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

Looks reasonable.



================
Comment at: llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp:1532
+  case Intrinsic::usub_sat:
+    if (ST->hasMVEIntegerOps()) {
+      std::pair<int, MVT> LT =
----------------
Nit: early break:

  if (!ST->hasMVEIntegerOps())
    break;


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

https://reviews.llvm.org/D94958



More information about the llvm-commits mailing list