[PATCH] D47735: [DAGCombiner] Create rotates more aggressively

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 09:47:01 PDT 2018


kparzysz added a comment.

At the moment https://reviews.llvm.org/D49242 expands these intrinsics into individual DAG operations.  If the intrinsics were transformed into ROTL, and if instcombine could reassociate "or" operations to expose more fshl opportunities, then I guess it would be sufficient.

A benefit of having it in the DAG combiner is that it could handle IR generators that have not generated funnel shifts.


Repository:
  rL LLVM

https://reviews.llvm.org/D47735





More information about the llvm-commits mailing list