diff options
author | Jay Foad <jay.foad@amd.com> | 2020-05-18 11:08:57 +0100 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2020-07-21 12:15:12 +0100 |
commit | 5e5bda74b61b3e8a4434abe2b5fe5d7ac5880ccd (patch) | |
tree | eb44857bd62baf314aeae11540a67077a2e77b50 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | becaa6803ab532d15506829f0551a5fa49c39d7e (diff) | |
download | llvm-5e5bda74b61b3e8a4434abe2b5fe5d7ac5880ccd.zip llvm-5e5bda74b61b3e8a4434abe2b5fe5d7ac5880ccd.tar.gz llvm-5e5bda74b61b3e8a4434abe2b5fe5d7ac5880ccd.tar.bz2 |
[IR] Simplify Use::swap. NFCI.
The new implementation makes it clear that there are exactly two
conditional stores (after the initial no-op optimization). By contrast
the old implementation had seven conditionals, some hidden inside other
functions.
This commit can change the order of operands in operand lists, hence the
tweak to one test case.
Differential Revision: https://reviews.llvm.org/D80116
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions