[PATCH] D47681: [DAGCombiner] Bug 31275- Extract a shift from a constant mul or udiv if a rotate can be formed

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 6 12:49:41 PDT 2018


efriedma added inline comments.


================
Comment at: test/CodeGen/X86/rotate-extract.ll:83
+}
+
+; Result would undershift
----------------
lebedev.ri wrote:
> These are all `rol`'s, and in aarch64 they are all `ror`'s, even though the tests appear identical, interesting.
> Any way to produce both `ror` and `rol` instructions for both arches?
AArch64 doesn't have a rol instruction.


https://reviews.llvm.org/D47681





More information about the llvm-commits mailing list