[all-commits] [llvm/llvm-project] fe1f36: [X86][SSE] combineShuffleWithHorizOp - avoid unnec...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue Aug 11 09:12:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fe1f36986b23a67c218d7ca24741d5ebd6886473
https://github.com/llvm/llvm-project/commit/fe1f36986b23a67c218d7ca24741d5ebd6886473
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-08-11 (Tue, 11 Aug 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86][SSE] combineShuffleWithHorizOp - avoid unnecessary subtraction. NFCI.
We can safely replace ((M - NumElts) % NumEltsPerLane) with (M % NumEltsPerLane) as the modulo result will be the same.
More information about the All-commits
mailing list