[all-commits] [llvm/llvm-project] 1cf347: [InstCombine] narrowRotate - minor refactoring for...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Oct 16 03:30:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1cf347e48b588ea277cc550b3ac57ecfa540618c
https://github.com/llvm/llvm-project/commit/1cf347e48b588ea277cc550b3ac57ecfa540618c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
Log Message:
-----------
[InstCombine] narrowRotate - minor refactoring for funnel shift support. NFC.
Prep work for PR35155 - renamed narrowRotate to narrowFunnelShift, rewrote some comments and adjusted code to collect separate shift values, although we bail if they don't match (still only rotations are only actually folded).
I'm trying to match matchFunnelShift as much as possible in case we finally get to merge these one day.
More information about the All-commits
mailing list