commit | 41838463b3b019ff6d1394f063f6d7e86ee16b63 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Thu Nov 16 00:19:59 2017 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Thu Nov 16 00:19:59 2017 +0000 |
tree | 1475d21b2eeec1335070c9d9d25f2d0c8ae80f4c | |
parent | 573c3541f3a4fd8fe0a32026f5b0f320cf9b97c6 [diff] |
[GVNHoist] Fix a signed/unsigned comparison warning that occurs in 32-bit builds with gcc. std::distance returns ptrdiff_t which is signed. 64-bit builds don't notice because type promotion widens the unsigned first. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318354 91177308-0d34-0410-b5e6-96231b3b80d8