summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2017-06-03 01:04:06 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2017-06-03 01:04:06 +0000
commitc85638b29dd258dad077db36302fd9c74ffa2324 (patch)
treeb032fdab383fc534068cb36833766050b42b2746 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent704003ea3dd850ec414fcde90a47aa4d742ee30b (diff)
downloadbcm5719-llvm-c85638b29dd258dad077db36302fd9c74ffa2324.tar.gz
bcm5719-llvm-c85638b29dd258dad077db36302fd9c74ffa2324.zip
[CodeGen] Fix Windows builds which treat warnings as errors, broken in r304621.
llvm-svn: 304627
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index a07b5cc9c89..80a03ea4eea 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -5562,7 +5562,7 @@ SDValue SelectionDAG::getMemIntrinsicNode(unsigned Opcode, const SDLoc &dl,
Opcode == ISD::PREFETCH ||
Opcode == ISD::LIFETIME_START ||
Opcode == ISD::LIFETIME_END ||
- (Opcode <= std::numeric_limits<int>::max() &&
+ ((int)Opcode <= std::numeric_limits<int>::max() &&
(int)Opcode >= ISD::FIRST_TARGET_MEMORY_OPCODE)) &&
"Opcode is not a memory-accessing opcode!");
OpenPOWER on IntegriCloud