File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/utils/TableGen/Common Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2449,12 +2449,12 @@ void CodeGenRegBank::computeInferredRegisterClasses() {
24492449 // and assigned EnumValues yet. That means getSubClasses(),
24502450 // getSuperClasses(), and hasSubClass() functions are defunct.
24512451
2452+ Records.getTimer ().startTimer (" Compute inferred register classes" );
2453+
24522454 // Use one-before-the-end so it doesn't move forward when new elements are
24532455 // added.
24542456 auto FirstNewRC = std::prev (RegClasses.end ());
24552457
2456- Records.getTimer ().startTimer (" Compute inferred register classes" );
2457-
24582458 // Visit all register classes, including the ones being added by the loop.
24592459 // Watch out for iterator invalidation here.
24602460 for (auto I = RegClasses.begin (), E = RegClasses.end (); I != E; ++I) {
You can’t perform that action at this time.
0 commit comments