aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2020-05-18 11:08:57 +0100
committerJay Foad <jay.foad@amd.com>2020-07-21 12:15:12 +0100
commit5e5bda74b61b3e8a4434abe2b5fe5d7ac5880ccd (patch)
treeeb44857bd62baf314aeae11540a67077a2e77b50 /llvm/unittests/Support/CommandLineTest.cpp
parentbecaa6803ab532d15506829f0551a5fa49c39d7e (diff)
downloadllvm-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