mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-29 13:37:15 +00:00
Fix spelling and grammar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e08a57824c
commit
1f4492e0b0
@ -274,11 +274,11 @@ static void deleteIfDeadInstruction(Value *V, ScalarEvolution &SE,
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// This fucntion will return true iff the given block contains nothing but goto.
|
||||
// A typical usage of this function is to check if the preheader fucntion is
|
||||
// "almost" empty such that generated intrinsic function can be moved across
|
||||
// preheader and to be placed at the end of the preconditiona block without
|
||||
// concerning of breaking data dependence.
|
||||
// This function will return true iff the given block contains nothing but goto.
|
||||
// A typical usage of this function is to check if the preheader function is
|
||||
// "almost" empty such that generated intrinsic functions can be moved across
|
||||
// the preheader and be placed at the end of the precondition block without
|
||||
// the concern of breaking data dependence.
|
||||
bool LIRUtil::isAlmostEmpty(BasicBlock *BB) {
|
||||
if (BranchInst *Br = getBranch(BB)) {
|
||||
return Br->isUnconditional() && BB->size() == 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user