diff options
author | Evandro Menezes <e.menezes@samsung.com> | 2019-09-06 22:07:11 +0000 |
---|---|---|
committer | Evandro Menezes <e.menezes@samsung.com> | 2019-09-06 22:07:11 +0000 |
commit | 7d677adf2df62aadb8401651ef81d7df2c954afc (patch) | |
tree | cd8243a256a1f1975ffbe65a13efe2efa9155893 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 88cddb7a1c1700b9c57e58e08a24f76bc4dd1d4b (diff) | |
download | llvm-7d677adf2df62aadb8401651ef81d7df2c954afc.zip llvm-7d677adf2df62aadb8401651ef81d7df2c954afc.tar.gz llvm-7d677adf2df62aadb8401651ef81d7df2c954afc.tar.bz2 |
[InstCombine] Refactor substitution of instruction in the parent BB (NFC)
Add the new method `LibCallSimplifier::substituteInParent()` that calls
`LibCallSimplifier::replaceAllUsesWith()' and
`LibCallSimplifier::eraseFromParent()` back to back, simplifying the
resulting code.
llvm-svn: 371264
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions