[llvm-commits] [llvm] r63312 - /llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Dan Gohman
gohman at apple.com
Thu Jan 29 08:18:13 PST 2009
Author: djg
Date: Thu Jan 29 10:18:12 2009
New Revision: 63312
URL: http://llvm.org/viewvc/llvm-project?rev=63312&view=rev
Log:
Fix two typos that Duncan spotted in a comment.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=63312&r1=63311&r2=63312&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Thu Jan 29 10:18:12 2009
@@ -1815,7 +1815,7 @@
}
}
- // Simpify x&y == y to x&y == 0 if y has exactly one bit set.
+ // Simplify x&y == y to x&y != 0 if y has exactly one bit set.
if (N0.getOpcode() == ISD::AND)
if (N0.getOperand(0) == N1 || N0.getOperand(1) == N1) {
if (ValueHasAtMostOneBitSet(N1, DAG)) {
More information about the llvm-commits
mailing list