commit | 19978553d4ed6aa71865cb1ece6aa65c22520525 | [log] [tgz] |
---|---|---|
author | Aaron Ballman <aaron@aaronballman.com> | Tue Jun 04 01:03:03 2013 +0000 |
committer | Aaron Ballman <aaron@aaronballman.com> | Tue Jun 04 01:03:03 2013 +0000 |
tree | 5811058028ceddb861bc95b488cc98635fb967e4 | |
parent | d07f55185c27e41ab21ce223d13cdca3f85ea643 [diff] [blame] |
Silencing an MSVC warning about mixing bool and unsigned int. llvm-svn: 183176
diff --git a/llvm/lib/Target/R600/AMDGPUStructurizeCFG.cpp b/llvm/lib/Target/R600/AMDGPUStructurizeCFG.cpp index bd947a5..d26783d 100644 --- a/llvm/lib/Target/R600/AMDGPUStructurizeCFG.cpp +++ b/llvm/lib/Target/R600/AMDGPUStructurizeCFG.cpp
@@ -353,7 +353,7 @@ if (Term->isConditional()) { Cond = Term->getCondition(); - if (Idx != Invert) + if (Idx != (unsigned)Invert) Cond = invert(Cond); } return Cond;