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:
2369560
)
Remove SrcVT only used in an assert and propagate query.
author
Eric Christopher
<echristo@gmail.com>
Thu, 26 Dec 2019 23:28:32 +0000
(15:28 -0800)
committer
Eric Christopher
<echristo@gmail.com>
Thu, 26 Dec 2019 23:28:32 +0000
(15:28 -0800)
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
38d6def
..
dd73f8a
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/
llvm/lib/Target/X86/X86ISelLowering.cpp
@@
-18586,8
+18586,8
@@
static SDValue lowerINT_TO_FP_vXi64(SDValue Op, SelectionDAG &DAG,
bool IsStrict = Op->isStrictFPOpcode();
MVT VT = Op->getSimpleValueType(0);
SDValue Src = Op->getOperand(IsStrict ? 1 : 0);
- MVT SrcVT = Src.getSimpleValueType();
-
assert((SrcVT == MVT::v2i64 || SrcVT
== MVT::v4i64) &&
+ assert((Src.getSimpleValueType() == MVT::v2i64 ||
+
Src.getSimpleValueType()
== MVT::v4i64) &&
"Unsupported custom type");
// With AVX512DQ, but not VLX we need to widen to get a 512-bit result type.