Teach globalopt to play nice with leak checkers. This is a reapplication of
[oota-llvm.git] / test / Transforms / GlobalOpt / heap-sra-3.ll
index cbbcdfcaf775529f210c71781405ecab785e9125..e7a877cda446a45b24c9198cebac625460f23397 100644 (file)
@@ -8,7 +8,7 @@ target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:1
 
 define void @bar(i64 %Size) nounwind noinline {
 entry:
-  %mallocsize = mul i64 8, %Size, ; <i64> [#uses=1]
+  %mallocsize = mul i64 8, %Size ; <i64> [#uses=1]
 ; CHECK: mul i64 %Size, 4
   %malloccall = tail call i8* @malloc(i64 %mallocsize) ; <i8*> [#uses=1]
   %.sub = bitcast i8* %malloccall to %struct.foo* ; <%struct.foo*> [#uses=1]