mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-17 08:36:52 +00:00
[llvm-exegesis] Fix rL343680 in release mode.
llvm-svn: 343684
This commit is contained in:
parent
37ea2d8ba1
commit
4c01276a93
@ -404,7 +404,7 @@ getNonRedundantWriteProcRes(const llvm::MCSchedClassDesc &SCDesc,
|
||||
Analysis::ResolvedSchedClass::ResolvedSchedClass(
|
||||
const llvm::MCSubtargetInfo &STI, unsigned ResolvedSchedClassId,
|
||||
bool WasVariant)
|
||||
: SCDesc(STI.getSchedModel().getSchedClassDesc(ResolvedSchedClassId)),
|
||||
: SchedClassId(ResolvedSchedClassId), SCDesc(STI.getSchedModel().getSchedClassDesc(ResolvedSchedClassId)),
|
||||
WasVariant(WasVariant),
|
||||
NonRedundantWriteProcRes(getNonRedundantWriteProcRes(*SCDesc, STI)),
|
||||
IdealizedProcResPressure(computeIdealizedProcResPressure(
|
||||
@ -669,7 +669,7 @@ llvm::Error Analysis::run<Analysis::PrintSchedClassInconsistencies>(
|
||||
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||
writeEscaped<kEscapeHtml>(OS, RSCAndPoints.RSC.SCDesc->Name);
|
||||
#else
|
||||
OS << SchedClassId;
|
||||
OS << RSCAndPoints.RSC.SchedClassId;
|
||||
#endif
|
||||
OS << "</span> contains instructions whose performance characteristics do"
|
||||
" not match that of LLVM:</p>";
|
||||
|
@ -53,6 +53,7 @@ private:
|
||||
ResolvedSchedClass(const llvm::MCSubtargetInfo &STI,
|
||||
unsigned ResolvedSchedClassId, bool WasVariant);
|
||||
|
||||
const unsigned SchedClassId;
|
||||
const llvm::MCSchedClassDesc *const SCDesc;
|
||||
const bool WasVariant; // Whether the original class was variant.
|
||||
const llvm::SmallVector<llvm::MCWriteProcResEntry, 8>
|
||||
|
Loading…
Reference in New Issue
Block a user