diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-29 20:49:03 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-29 20:49:03 +0000 |
| commit | 273957116887aa34b0a517cb90151458023c4ec3 (patch) | |
| tree | a8ba1ff1a7cf51379e30312aee0deec91fcacdf8 /llvm/lib/IR | |
| parent | be40996cfe7a8ae40e065120a40a15ead80ea393 (diff) | |
| download | bcm5719-llvm-273957116887aa34b0a517cb90151458023c4ec3.tar.gz bcm5719-llvm-273957116887aa34b0a517cb90151458023c4ec3.zip | |
Silence sign compare warning. NFC.
llvm-svn: 233502
Diffstat (limited to 'llvm/lib/IR')
| -rw-r--r-- | llvm/lib/IR/InlineAsm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/IR/InlineAsm.cpp b/llvm/lib/IR/InlineAsm.cpp index 47dce20a517..aa9e0272ad1 100644 --- a/llvm/lib/IR/InlineAsm.cpp +++ b/llvm/lib/IR/InlineAsm.cpp @@ -168,7 +168,8 @@ bool InlineAsm::ConstraintInfo::Parse(StringRef Str, scInfo.MatchingInput = ConstraintsSoFar.size(); } else { if (ConstraintsSoFar[N].hasMatchingInput() && - ConstraintsSoFar[N].MatchingInput != ConstraintsSoFar.size()) + (size_t)ConstraintsSoFar[N].MatchingInput != + ConstraintsSoFar.size()) return true; // Note that operand #n has a matching input. ConstraintsSoFar[N].MatchingInput = ConstraintsSoFar.size(); |

