Allow MachineTraceMetrics to be used when the model has no resources.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Apr 2013 22:27:45 +0000 (22:27 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Apr 2013 22:27:45 +0000 (22:27 +0000)
commit2ccdbc6675fd5bafb6da65dfca850b6e2587f9f3
treea5aea03f67131d17c0a559484051bb4fd4afdd78
parentd0a0757c3b4bf4277267c7bb869651ef01493060
Allow MachineTraceMetrics to be used when the model has no resources.

It it still possible to extract information from itineraries, for
example.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178582 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/EarlyIfConversion.cpp
lib/CodeGen/MachineTraceMetrics.cpp