Changes in directory llvm/lib/Target/PowerPC:
PPCInstrInfo.cpp updated: 1.38 -> 1.39 --- Log message: BlockHasNoFallThrough() now returns true if block ends with a return instruction. --- Diffs of the changes: (+1 -0) PPCInstrInfo.cpp | 1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/PowerPC/PPCInstrInfo.cpp diff -u llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:1.38 llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:1.39 --- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:1.38 Thu May 17 19:05:48 2007 +++ llvm/lib/Target/PowerPC/PPCInstrInfo.cpp Mon May 21 13:43:25 2007 @@ -276,6 +276,7 @@ if (MBB.empty()) return false; switch (MBB.back().getOpcode()) { + case PPC::BLR: // Return. case PPC::B: // Uncond branch. case PPC::BCTR: // Indirect branch. return true; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits