[llvm] 6c44e39 - [X86] combineShuffle - reuse SDLoc. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 29 02:30:29 PDT 2022
Author: Simon Pilgrim
Date: 2022-04-29T10:30:11+01:00
New Revision: 6c44e398ecdc5ad46ada7b37c68cfbe5e7fc9a94
URL: https://github.com/llvm/llvm-project/commit/6c44e398ecdc5ad46ada7b37c68cfbe5e7fc9a94
DIFF: https://github.com/llvm/llvm-project/commit/6c44e398ecdc5ad46ada7b37c68cfbe5e7fc9a94.diff
LOG: [X86] combineShuffle - reuse SDLoc. NFCI.
Added:
Modified:
llvm/lib/Target/X86/X86ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index e7299c7088b2..c7325d55ded7 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -40291,7 +40291,7 @@ static SDValue combineShuffle(SDNode *N, SelectionDAG &DAG,
// Canonicalize SHUFFLE(BINOP(X,Y)) -> BINOP(SHUFFLE(X),SHUFFLE(Y)).
// Perform this after other shuffle combines to allow inner shuffles to be
// combined away first.
- if (SDValue BinOp = canonicalizeShuffleWithBinOps(Op, DAG, SDLoc(N)))
+ if (SDValue BinOp = canonicalizeShuffleWithBinOps(Op, DAG, dl))
return BinOp;
}
More information about the llvm-commits
mailing list