diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-08 17:02:10 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-08 17:05:56 +0100 |
commit | d4627b90a0462c90a834c2f7b9c9228b3ec7a45b (patch) | |
tree | a20a9c81e3487930f5e2acf5c7ccfa6d9b6755fe /llvm/lib/Transforms/Utils/CallGraphUpdater.cpp | |
parent | 9d03b7d0d00833d81f31ff740491af6211262209 (diff) | |
download | llvm-d4627b90a0462c90a834c2f7b9c9228b3ec7a45b.zip llvm-d4627b90a0462c90a834c2f7b9c9228b3ec7a45b.tar.gz llvm-d4627b90a0462c90a834c2f7b9c9228b3ec7a45b.tar.bz2 |
[InstCombine] Avoid modifying instructions in-place
As discussed on D73919, this replaces a few cases where we were
modifying multiple operands of instructions in-place with the
creation of a new instruction, which we generally prefer nowadays.
This tends to be more readable and less prone to worklist management
bugs.
Test changes are only superficial (instruction naming and order).
Diffstat (limited to 'llvm/lib/Transforms/Utils/CallGraphUpdater.cpp')
0 files changed, 0 insertions, 0 deletions