[InstCombine] Return replaceInstUsesWith() result (NFC)
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 29 Aug 2020 12:49:57 +0000 (14:49 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 29 Aug 2020 12:49:57 +0000 (14:49 +0200)
commit6093b14c2c1fc785bfb7040ecebfe4127e1ab9ab
tree7ee2f2a024103aca7792aa9c3a4e925a705757fa
parent5b86d130e2baed7221b09087c506f5974fe65f22
[InstCombine] Return replaceInstUsesWith() result (NFC)

Follow the usual usage pattern for this function and return the
result.
llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp