[PATCH] D70829: [ARM][MVE][Intrinsics] Add VMINQ/VMAXQ/VMINNMQ/VMAXNMQ intrinsics.

Dave Green via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 28 09:51:12 PST 2019


dmgreen added inline comments.


================
Comment at: llvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxnmq.ll:7
+; CHECK:       @ %bb.0: @ %entry
+; CHECK-NEXT:    vcmp.f16 ge, q0, q1
+; CHECK-NEXT:    vpsel q0, q0, q1
----------------
You may want to use llvm.minnum directly (providing the semantics are indeed equivalent). Otherwise it will need fastmath to fuse these together, which isn't the same as the original intrinsic.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70829





More information about the cfe-commits mailing list