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:
a8db806
)
[X86] Fix SDLoc initialization
author
Nikita Popov
<nikita.ppv@gmail.com>
Fri, 21 Feb 2020 17:11:51 +0000
(18:11 +0100)
committer
Nikita Popov
<nikita.ppv@gmail.com>
Fri, 21 Feb 2020 17:26:05 +0000
(18:26 +0100)
Fixes -Wparentheses warning, in this case indicating a genuine
bug.
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
7f6d36d
..
64cae53
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/
llvm/lib/Target/X86/X86ISelLowering.cpp
@@
-28740,7
+28740,7
@@
SDValue X86TargetLowering::LowerF128Call(SDValue Op, SelectionDAG &DAG,
// Custom split CVTPS2PH with wide types.
static SDValue LowerCVTPS2PH(SDValue Op, SelectionDAG &DAG) {
- SDLoc
(dl
);
+ SDLoc
dl(Op
);
EVT VT = Op.getValueType();
SDValue Lo, Hi;
std::tie(Lo, Hi) = DAG.SplitVectorOperand(Op.getNode(), 0);