aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-04-29 14:19:14 -0700
committerArthur Eubanks <aeubanks@google.com>2021-04-29 20:33:30 -0700
commita3a798d49dfcc30fbe26bb865ac30ccda216c4a7 (patch)
tree0b88c2e4bbc741d0959e91758ee494b377a18e5c /llvm/lib/Support/GraphWriter.cpp
parent544be708641b2f3d58a1b86ae86c3ba460f41d10 (diff)
downloadllvm-a3a798d49dfcc30fbe26bb865ac30ccda216c4a7.zip
llvm-a3a798d49dfcc30fbe26bb865ac30ccda216c4a7.tar.gz
llvm-a3a798d49dfcc30fbe26bb865ac30ccda216c4a7.tar.bz2
[InlineCost] Remove visitUnaryInstruction()
The simplifyInstruction() in visitUnaryInstruction() does not trigger for all of check-llvm. Looking at all delegates to UnaryInstruction in InstVisitor, the only instructions that either don't have a visitor in CallAnalyzer, or redirect to UnaryInstruction, are VAArgInst and Alloca. VAArgInst will never get simplified, and visitUnaryInstruction(Alloca) would always return false anyway. Reviewed By: mtrofin, lebedev.ri Differential Revision: https://reviews.llvm.org/D101577
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
0 files changed, 0 insertions, 0 deletions