aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-08 17:02:10 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-08 17:05:56 +0100
commitd4627b90a0462c90a834c2f7b9c9228b3ec7a45b (patch)
treea20a9c81e3487930f5e2acf5c7ccfa6d9b6755fe /llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
parent9d03b7d0d00833d81f31ff740491af6211262209 (diff)
downloadllvm-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