[PATCH] D80826: [CodeGen][SVE] Replace deprecated calls in getCopyFromPartsVector()

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 13:06:43 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/include/llvm/Support/TypeSize.h:53
+  bool operator>(const ElementCount& RHS) const {
+    return Min > RHS.Min && Scalable == RHS.Scalable;
+  }
----------------
These operators are a little dubious; it's possible for both A<B and A>=B to be false, which goes against mathematical intuition.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80826





More information about the llvm-commits mailing list