aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEvandro Menezes <e.menezes@samsung.com>2019-09-06 22:07:11 +0000
committerEvandro Menezes <e.menezes@samsung.com>2019-09-06 22:07:11 +0000
commit7d677adf2df62aadb8401651ef81d7df2c954afc (patch)
treecd8243a256a1f1975ffbe65a13efe2efa9155893 /clang/lib/Frontend/CompilerInvocation.cpp
parent88cddb7a1c1700b9c57e58e08a24f76bc4dd1d4b (diff)
downloadllvm-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