projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19647e5
)
[X86] foldMaskedMergeImpl - pass SDLoc by const reference not value.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Tue, 7 Jun 2022 11:36:30 +0000
(12:36 +0100)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Tue, 7 Jun 2022 11:36:30 +0000
(12:36 +0100)
llvm/lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86ISelLowering.cpp
b/llvm/lib/Target/X86/X86ISelLowering.cpp
index
8279256
..
8a8d805
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/
llvm/lib/Target/X86/X86ISelLowering.cpp
@@
-47787,8
+47787,8
@@
static SDValue combineOrCmpEqZeroToCtlzSrl(SDNode *N, SelectionDAG &DAG,
}
static SDValue foldMaskedMergeImpl(SDValue And0_L, SDValue And0_R,
- SDValue And1_L, SDValue And1_R,
SDLoc DL,
- SelectionDAG &DAG) {
+ SDValue And1_L, SDValue And1_R,
+
const SDLoc &DL,
SelectionDAG &DAG) {
if (!isBitwiseNot(And0_L, true) || !And0_L->hasOneUse())
return SDValue();
SDValue NotOp = And0_L->getOperand(0);