Changes in directory llvm/lib/Target/Alpha:

AlphaInstrInfo.cpp updated: 1.18 -> 1.19
---
Log message:

BlockHasNoFallThrough() now returns true if block ends with a return 
instruction.

---
Diffs of the changes:  (+2 -0)

 AlphaInstrInfo.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/Alpha/AlphaInstrInfo.cpp
diff -u llvm/lib/Target/Alpha/AlphaInstrInfo.cpp:1.18 
llvm/lib/Target/Alpha/AlphaInstrInfo.cpp:1.19
--- llvm/lib/Target/Alpha/AlphaInstrInfo.cpp:1.18       Thu May 17 19:02:59 2007
+++ llvm/lib/Target/Alpha/AlphaInstrInfo.cpp    Mon May 21 13:44:17 2007
@@ -239,6 +239,8 @@
   if (MBB.empty()) return false;
   
   switch (MBB.back().getOpcode()) {
+  case Alpha::RETDAG: // Return.
+  case Alpha::RETDAGp:
   case Alpha::BR:     // Uncond branch.
   case Alpha::JMP:  // Indirect branch.
     return true;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to