aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-09-09 15:24:36 +0000
committerSanjay Patel <spatel@rotateright.com>2015-09-09 15:24:36 +0000
commit6eccf487c98454d0834065a5205f1cce4e4c7ad4 (patch)
tree178cf8c2dc07ab10b82707497dbac7bf307cc697 /llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
parentd3e098140f58f6e5ccbdc7b1eb17f8f9a4d4e44e (diff)
downloadllvm-6eccf487c98454d0834065a5205f1cce4e4c7ad4.zip
llvm-6eccf487c98454d0834065a5205f1cce4e4c7ad4.tar.gz
llvm-6eccf487c98454d0834065a5205f1cce4e4c7ad4.tar.bz2
don't repeat function names in comments; NFC
llvm-svn: 247154
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp b/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
index a8d0172..ba6e687 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
@@ -886,7 +886,7 @@ static bool checkRippleForAdd(const APInt &Op0KnownZero,
return Op0ZeroPosition >= Op1OnePosition;
}
-/// WillNotOverflowSignedAdd - Return true if we can prove that:
+/// Return true if we can prove that:
/// (sext (add LHS, RHS)) === (add (sext LHS), (sext RHS))
/// This basically requires proving that the add in the original type would not
/// overflow to change the sign bit or have a carry out.