commit | 4146fdbd6d8b0de62e7414dcd8dd6f3e9d0bc423 | [log] [tgz] |
---|---|---|
author | Rong Xu <xur@google.com> | Wed Nov 16 20:50:06 2016 +0000 |
committer | Rong Xu <xur@google.com> | Wed Nov 16 20:50:06 2016 +0000 |
tree | 6fd68cf222f8d4a5faaf63556e8d18f320e73bcc | |
parent | 2318eb95f51feaff3969af142fefe8d5a9b1a4d2 [diff] |
Make block placement deterministic We fail to produce bit-to-bit matching stage2 and stage3 compiler in PGO bootstrap build. The reason is because LoopBlockSet is of SmallPtrSet type whose iterating order depends on the pointer value. This patch fixes this issue by changing to use SmallSetVector. Differential Revision: http://reviews.llvm.org/D26634 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287148 91177308-0d34-0410-b5e6-96231b3b80d8