]> granicus.if.org Git - llvm/commit
Fix differences in codegen between Linux and Windows toolchains
authorMandeep Singh Grang <mgrang@codeaurora.org>
Tue, 18 Oct 2016 00:11:19 +0000 (00:11 +0000)
committerMandeep Singh Grang <mgrang@codeaurora.org>
Tue, 18 Oct 2016 00:11:19 +0000 (00:11 +0000)
commit0480c1bb9f45052fbf5bcab50fd1fd0ac257f65c
tree504ee436717b3c8b7e56ebf0e089abddb8efb0c2
parent88bc637ad2f448feaaad5a9a9dc55285732b8af3
Fix differences in codegen between Linux and Windows toolchains

Summary:
    There are differences in codegen between Linux and Windows due to:
    1. Using std::sort which uses quicksort which is a non-stable sort.

    2. Iterating over Set data structure where the iteration order is
       non deterministic.

Reviewers: arsenm, grosbach, junbuml, zinob, MatzeB

Subscribers: MatzeB, wdng

Differential Revision: https://reviews.llvm.org/D25695

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284441 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/RegionInfo.h
lib/CodeGen/LocalStackSlotAllocation.cpp
lib/CodeGen/MachineScheduler.cpp