[all-commits] [llvm/llvm-project] e7a4a2: [TargetLowering] Improve expansion of ROTL/ROTR
jayfoad via All-commits
all-commits at lists.llvm.org
Mon Jul 6 04:26:28 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e7a4a24dc50ab115cd0838bbf47d61251530a0cd
https://github.com/llvm/llvm-project/commit/e7a4a24dc50ab115cd0838bbf47d61251530a0cd
Author: Jay Foad <jay.foad at amd.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[TargetLowering] Improve expansion of ROTL/ROTR
Using a negation instead of a subtraction from a constant can save an
instruction on some targets.
Nothing much uses this until D77152 changes the translation of fshl and
fshr intrinsics.
Differential Revision: https://reviews.llvm.org/D82539
More information about the All-commits
mailing list