[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
Reid Spencer
reid at x10sys.com
Tue Apr 26 15:49:59 PDT 2005
Changes in directory llvm/lib/Transforms/IPO:
SimplifyLibCalls.cpp updated: 1.10 -> 1.11
---
Log message:
No, seriously folks, memcpy really does return void.
---
Diffs of the changes: (+1 -1)
SimplifyLibCalls.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
diff -u llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.10 llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.11
--- llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp:1.10 Tue Apr 26 17:46:23 2005
+++ llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp Tue Apr 26 17:49:48 2005
@@ -535,7 +535,7 @@
{
// Just make sure this has 4 arguments per LLVM spec.
return (f->arg_size() == 4) &&
- (f->getReturnType() == PointerType::get(Type::VoidTy));
+ (f->getReturnType() == Type::VoidTy);
}
/// Because of alignment and instruction information that we don't have, we
More information about the llvm-commits
mailing list