[llvm-commits] CVS: llvm/test/Transforms/SimplifyLibCalls/StrLen.ll
Reid Spencer
reid at x10sys.com
Fri Jan 26 00:26:12 PST 2007
Changes in directory llvm/test/Transforms/SimplifyLibCalls:
StrLen.ll updated: 1.5 -> 1.6
---
Log message:
For PR761: http://llvm.org/PR761 :
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645: http://llvm.org/PR645 :
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
---
Diffs of the changes: (+4 -1)
StrLen.ll | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
Index: llvm/test/Transforms/SimplifyLibCalls/StrLen.ll
diff -u llvm/test/Transforms/SimplifyLibCalls/StrLen.ll:1.5 llvm/test/Transforms/SimplifyLibCalls/StrLen.ll:1.6
--- llvm/test/Transforms/SimplifyLibCalls/StrLen.ll:1.5 Fri Dec 1 22:23:10 2006
+++ llvm/test/Transforms/SimplifyLibCalls/StrLen.ll Fri Jan 26 02:25:06 2007
@@ -1,5 +1,8 @@
; Test that the StrCatOptimizer works correctly
-; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | not grep 'call.*strlen'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplify-libcalls | llvm-dis | \
+; RUN: not grep 'call.*strlen'
+
+target datalayout = "e-p:32:32"
declare uint %strlen(sbyte*)
%hello = constant [6 x sbyte] c"hello\00"
More information about the llvm-commits
mailing list