diff options
author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2017-06-03 01:04:06 +0000 |
---|---|---|
committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2017-06-03 01:04:06 +0000 |
commit | c85638b29dd258dad077db36302fd9c74ffa2324 (patch) | |
tree | b032fdab383fc534068cb36833766050b42b2746 /llvm/lib/CodeGen | |
parent | 704003ea3dd850ec414fcde90a47aa4d742ee30b (diff) | |
download | bcm5719-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')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
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!"); |