[PATCH] D62993: [PowerPC] Emit scalar min/max instructions with unsafe fp math

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 20:03:35 PDT 2019


steven.zhang added inline comments.


================
Comment at: lib/Target/PowerPC/PPCInstrVSX.td:1267
+
+let AddedComplexity = 1, Predicates = [HasVSX] in {
+  def : Pat<(f32 (fminnum_ieee f32:$A, f32:$B)),
----------------
Just out of curious, why we set the complexity as 1 here instead of 400. 


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62993





More information about the llvm-commits mailing list