summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-10-14 21:37:33 +0000
committerRui Ueyama <ruiu@google.com>2014-10-14 21:37:33 +0000
commit82399f96ae92366042d23e2fdb9917971ad7ad4f (patch)
tree167fe2636d59f7d3569eaa17a920795695168873 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parente1ebc76072219b354dd642d6c712d3600071395e (diff)
downloadbcm5719-llvm-82399f96ae92366042d23e2fdb9917971ad7ad4f.tar.gz
bcm5719-llvm-82399f96ae92366042d23e2fdb9917971ad7ad4f.zip
Remove dead code.
Because we use cast<> at the beginning of this function, it will abort there if a given atom is not a DefinedAtom. In the switch statement, we checked if a given atom is a DefinedAtom again by evaluating definition() == Atom::definitionRegular. This was always true. So we can remove the outer switch statement. llvm-svn: 219724
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud