diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2013-07-17 19:43:13 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2013-07-17 19:43:13 +0000 |
| commit | fbb104513ba7de25b74d71875328bf45c6f3277b (patch) | |
| tree | 7339dfef7d654d31189777bd51346efaf0ce419f /llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp | |
| parent | 365d16e3456ba61d4a177467646f2f29a08f9a59 (diff) | |
| download | bcm5719-llvm-fbb104513ba7de25b74d71875328bf45c6f3277b.tar.gz bcm5719-llvm-fbb104513ba7de25b74d71875328bf45c6f3277b.zip | |
Silencing an MSVC warning about signed vs unsigned comparison mismatches.
llvm-svn: 186529
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp b/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp index f5d5e5a5cc6..bf341b36c1e 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp @@ -781,7 +781,7 @@ SDNode *SystemZDAGToDAGISel::tryRISBGZero(SDNode *N) { // all cases and are sometimes shorter. Prefer to use RISBG for ANDs though, // since it is effectively a three-operand instruction in this case, // and since it can handle some masks that AND IMMEDIATE can't. - if (Count < (N->getOpcode() == ISD::AND ? 1 : 2)) + if (Count < (N->getOpcode() == ISD::AND ? 1U : 2U)) return 0; // Prefer register extensions like LLC over RISBG. |

