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:
ed571d7
)
[Target][ARM] Add a usage for SrcSz to unbreak build-bots without assertions
author
Kadir Cetinkaya
<kadircet@google.com>
Thu, 28 Feb 2019 15:55:11 +0000
(15:55 +0000)
committer
Kadir Cetinkaya
<kadircet@google.com>
Thu, 28 Feb 2019 15:55:11 +0000
(15:55 +0000)
llvm-svn: 355101
llvm/lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARM/ARMISelLowering.cpp
b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index
524b84e
..
d8764f6
100644
(file)
--- a/
llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/
llvm/lib/Target/ARM/ARMISelLowering.cpp
@@
-13701,6
+13701,7
@@
void ARMTargetLowering::computeKnownBitsForTargetNode(const SDValue Op,
EVT VT = Op.getValueType();
const unsigned DstSz = VT.getScalarSizeInBits();
const unsigned SrcSz = VecVT.getVectorElementType().getSizeInBits();
+ (void)SrcSz;
assert(SrcSz == Known.getBitWidth());
assert(DstSz > SrcSz);
if (Op.getOpcode() == ARMISD::VGETLANEs)