diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-09 15:45:22 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-09 15:45:22 +0000 |
commit | c280f418644243b5018cd7c981107198234df05a (patch) | |
tree | 367f0bf8235100cc189ab36eeccca7a1e2f3b424 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | ae9b18b6073d20b3c33ba9f3dc11ab15efbb96d9 (diff) | |
download | bcm5719-llvm-c280f418644243b5018cd7c981107198234df05a.tar.gz bcm5719-llvm-c280f418644243b5018cd7c981107198234df05a.zip |
Silence GCC warning about falling off the end of a non-void function.
llvm-svn: 167618
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index de16932c061..a4817d09c0d 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/lib/CodeGen/MachineScheduler.cpp @@ -1583,6 +1583,7 @@ const char *ConvergingScheduler::getReasonStr( case NextDefUse: return "DEF-USE "; case NodeOrder: return "ORDER "; }; + llvm_unreachable("Unknown reason!"); } void ConvergingScheduler::traceCandidate(const SchedCandidate &Cand, |