[llvm-commits] CVS: llvm/test/Transforms/GlobalOpt/memset.ll
Reid Spencer
reid at x10sys.com
Sun Apr 15 19:09:45 PDT 2007
Changes in directory llvm/test/Transforms/GlobalOpt:
memset.ll updated: 1.5 -> 1.6
---
Log message:
For PR1336: http://llvm.org/PR1336 :
Correct this test case. It was passing a uint where a ubyte was expected.
---
Diffs of the changes: (+1 -2)
memset.ll | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/test/Transforms/GlobalOpt/memset.ll
diff -u llvm/test/Transforms/GlobalOpt/memset.ll:1.5 llvm/test/Transforms/GlobalOpt/memset.ll:1.6
--- llvm/test/Transforms/GlobalOpt/memset.ll:1.5 Sun Apr 15 18:00:46 2007
+++ llvm/test/Transforms/GlobalOpt/memset.ll Sun Apr 15 21:09:24 2007
@@ -2,7 +2,6 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -globalopt | llvm-dis | \
; RUN: not grep internal
-; XFAIL: *
%G0 = internal global [58 x sbyte] c"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd\00"
@@ -17,7 +16,7 @@
%Blah = alloca [58 x sbyte] ; <[58 x sbyte]*> [#uses=2]
%tmp3 = cast [58 x sbyte]* %Blah to sbyte*
call void %llvm.memcpy.i32( sbyte* cast ([4 x int]* %G1 to sbyte*), sbyte* %tmp3, uint 16, uint 1)
- call void %llvm.memset.i32( sbyte* getelementptr ([58 x sbyte]* %G0, int 0, int 0), uint 17, uint 58, uint 1)
+ call void %llvm.memset.i32( sbyte* getelementptr ([58 x sbyte]* %G0, int 0, int 0), ubyte 17, uint 58, uint 1)
ret void
}
More information about the llvm-commits
mailing list