summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-30 05:54:51 +0000
committerChris Lattner <sabre@nondot.org>2009-12-30 05:54:51 +0000
commitc17e2849d10a961abf7183222baab31d84e3990f (patch)
tree002f8eff16440086a7f712770abaf854fcceea6f /test
parent1340dd37087c1d47a85a4461a8d33cd6ccbcfaaf (diff)
downloadexternal_llvm-c17e2849d10a961abf7183222baab31d84e3990f.zip
external_llvm-c17e2849d10a961abf7183222baab31d84e3990f.tar.gz
external_llvm-c17e2849d10a961abf7183222baab31d84e3990f.tar.bz2
fix two bogus tests that the asmparser now rejects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/GlobalOpt/heap-sra-3.ll2
-rw-r--r--test/Transforms/SimplifyCFG/duplicate-phis.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/GlobalOpt/heap-sra-3.ll b/test/Transforms/GlobalOpt/heap-sra-3.ll
index cbbcdfc..e7a877c 100644
--- a/test/Transforms/GlobalOpt/heap-sra-3.ll
+++ b/test/Transforms/GlobalOpt/heap-sra-3.ll
@@ -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]
diff --git a/test/Transforms/SimplifyCFG/duplicate-phis.ll b/test/Transforms/SimplifyCFG/duplicate-phis.ll
index a1e5113..5129f9f 100644
--- a/test/Transforms/SimplifyCFG/duplicate-phis.ll
+++ b/test/Transforms/SimplifyCFG/duplicate-phis.ll
@@ -6,7 +6,7 @@
define i32 @foo(i1 %t) {
entry:
call void @bar()
- br i1 %t, label %true, label %false,
+ br i1 %t, label %true, label %false
true:
call void @bar()
br label %false