diff options
author | Reid Kleckner <rnk@google.com> | 2018-04-24 21:41:50 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-04-24 21:41:50 +0000 |
commit | 5176039795d7c98f1416658f6dd453c8e6cf629e (patch) | |
tree | 47f1082e0a4f566a2fc0dc69f71adf1bffcd74e6 /llvm/lib/CodeGen/StackSlotColoring.cpp | |
parent | a2be8f4c357e3ac34b8c0a9eb4a06f4d6bcc8674 (diff) | |
download | bcm5719-llvm-5176039795d7c98f1416658f6dd453c8e6cf629e.tar.gz bcm5719-llvm-5176039795d7c98f1416658f6dd453c8e6cf629e.zip |
Bring back APInt self-move assignment check for MSVC only
Summary:
It was removed about a year ago in r300477. Bring it back, along with
its unittest, when the MSVC STL is in use. The MSVC STL performs
self-assignment in std::shuffle. These days, llvm::sort calls
std::shuffle when expensive checks are enabled to help find
non-determinism bugs.
Reviewers: craig.topper, chandlerc
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D46028
llvm-svn: 330776
Diffstat (limited to 'llvm/lib/CodeGen/StackSlotColoring.cpp')
0 files changed, 0 insertions, 0 deletions