[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaInstrInfo.cpp
    Evan Cheng 
    evan.cheng at apple.com
       
    Mon May 21 11:44:35 PDT 2007
    
    
  
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;
    
    
More information about the llvm-commits
mailing list