[PATCH] D49089: [AMDGPU][Waitcnt] fix "comparison of integers of different signs" build error
Mark Searles via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 9 12:33:22 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL336588: [AMDGPU][Waitcnt] fix "comparison of integers of different signs" build error (authored by msearles, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D49089?vs=154635&id=154676#toc
Repository:
rL LLVM
https://reviews.llvm.org/D49089
Files:
llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Index: llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+++ llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@ -1904,7 +1904,7 @@
// If the loop has multiple back-edges, and so more than one "bottom"
// basic block, we have to guarantee a re-walk over every blocks.
if ((std::count(BlockWaitcntProcessedSet.begin(),
- BlockWaitcntProcessedSet.end(), &MBB) < Count)) {
+ BlockWaitcntProcessedSet.end(), &MBB) < (int)Count)) {
BlockWaitcntBracketsMap[&MBB]->setRevisitLoop(true);
LLVM_DEBUG(dbgs() << "set-revisit1: Block"
<< ContainingLoop->getHeader()->getNumber() << '\n';);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49089.154676.patch
Type: text/x-patch
Size: 809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180709/6405886b/attachment.bin>
More information about the llvm-commits
mailing list