HomePhabricator

[MergeICmps][NFC] Make BCEAtom move-only.

Authored by courbet on May 21 2019, 6:34 AM.

Description

[MergeICmps][NFC] Make BCEAtom move-only.

And handle for self-move. This is required so that llvm::sort can work
with EXPENSIVE_CHECKS, as it will do a random shuffle of the input
which can result in self-moves.

llvm-svn: 361257

Details

Committed
courbetMay 21 2019, 6:34 AM
Parents
rG35a2196bd116: Fix typo in r361251.
Branches
Unknown
Tags
Unknown

Event Timeline

xbolva00 added inline comments.
/llvm/lib/Transforms/Scalar/MergeICmps.cpp
520

Maybe update comment?