[llvm-commits] [llvm] r149075 - /llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp
Chad Rosier
mcrosier at apple.com
Thu Jan 26 12:19:05 PST 2012
Author: mcrosier
Date: Thu Jan 26 14:19:05 2012
New Revision: 149075
URL: http://llvm.org/viewvc/llvm-project?rev=149075&view=rev
Log:
Update comment for r149070.
Modified:
llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp
Modified: llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp?rev=149075&r1=149074&r2=149075&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp Thu Jan 26 14:19:05 2012
@@ -537,9 +537,7 @@
// If the block doesn't end in a known control barrier, assume fallthrough
// is possible. The isPredicated check is needed because this code can be
// called during IfConversion, where an instruction which is normally a
- // Barrier is predicated and thus no longer an actual control barrier. This
- // is over-conservative though, because if an instruction isn't actually
- // predicated we could still treat it like a barrier.
+ // Barrier is predicated and thus no longer an actual control barrier.
return empty() || !back().isBarrier() || TII->isPredicated(&back());
}
More information about the llvm-commits
mailing list