[PATCH] D61400: [SelectionDAG] Utilize ARM shift behavior

Shawn Landden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 15:26:54 PDT 2019


shawnl marked an inline comment as done.
shawnl added a comment.

It is certainly not safe to do in LLVM-IR, but there has to be some point at which this can be done, and at this point it is still easy to match the pattern (although it does not match the -O0 pattern with an icmp instead of a select).



================
Comment at: include/llvm/CodeGen/SelectionDAGNodes.h:729
+  /// time proportional to the number of uses, limited to MaxDistance.
+  size_t use_size(size_t MaxDistance) const {
+    size_t Dist = 0;
----------------
craig.topper wrote:
> Is this used?
Oh, it is not any more...it will be removed.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61400





More information about the llvm-commits mailing list