[llvm] r253956 - Revert change that accidentally snuck into r253955.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 23 22:24:06 PST 2015
Author: ctopper
Date: Tue Nov 24 00:24:06 2015
New Revision: 253956
URL: http://llvm.org/viewvc/llvm-project?rev=253956&view=rev
Log:
Revert change that accidentally snuck into r253955.
Modified:
llvm/trunk/utils/TableGen/CodeGenTarget.cpp
Modified: llvm/trunk/utils/TableGen/CodeGenTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenTarget.cpp?rev=253956&r1=253955&r2=253956&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenTarget.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenTarget.cpp Tue Nov 24 00:24:06 2015
@@ -217,8 +217,7 @@ CodeGenRegBank &CodeGenTarget::getRegBan
void CodeGenTarget::ReadRegAltNameIndices() const {
RegAltNameIndices = Records.getAllDerivedDefinitions("RegAltNameIndex");
- array_pod_sort(RegAltNameIndices.begin(), RegAltNameIndices.end(),
- LessRecord());
+ std::sort(RegAltNameIndices.begin(), RegAltNameIndices.end(), LessRecord());
}
/// getRegisterByName - If there is a register with the specific AsmName,
More information about the llvm-commits
mailing list