[llvm-commits] [llvm] r167618 - /llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Benjamin Kramer
benny.kra at googlemail.com
Fri Nov 9 07:45:22 PST 2012
Author: d0k
Date: Fri Nov 9 09:45:22 2012
New Revision: 167618
URL: http://llvm.org/viewvc/llvm-project?rev=167618&view=rev
Log:
Silence GCC warning about falling off the end of a non-void function.
Modified:
llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Modified: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineScheduler.cpp?rev=167618&r1=167617&r2=167618&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Fri Nov 9 09:45:22 2012
@@ -1583,6 +1583,7 @@
case NextDefUse: return "DEF-USE ";
case NodeOrder: return "ORDER ";
};
+ llvm_unreachable("Unknown reason!");
}
void ConvergingScheduler::traceCandidate(const SchedCandidate &Cand,
More information about the llvm-commits
mailing list