[llvm] r260055 - Make check line consistent
Daniel Berlin via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 7 12:57:46 PST 2016
Author: dannyb
Date: Sun Feb 7 14:57:46 2016
New Revision: 260055
URL: http://llvm.org/viewvc/llvm-project?rev=260055&view=rev
Log:
Make check line consistent
Added:
llvm/trunk/test/Transforms/Util/MemorySSA/livein.ll
Added: llvm/trunk/test/Transforms/Util/MemorySSA/livein.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Util/MemorySSA/livein.ll?rev=260055&view=auto
==============================================================================
--- llvm/trunk/test/Transforms/Util/MemorySSA/livein.ll (added)
+++ llvm/trunk/test/Transforms/Util/MemorySSA/livein.ll Sun Feb 7 14:57:46 2016
@@ -0,0 +1,29 @@
+; RUN: opt -basicaa -print-memoryssa -verify-memoryssa -analyze < %s 2>&1 | FileCheck %s
+define void @F(i8*) {
+ br i1 true, label %left, label %right
+left:
+; CHECK: 1 = MemoryDef(liveOnEntry)
+ store i8 16, i8* %0
+ br label %merge
+right:
+ br label %merge
+
+merge:
+; CHECK-NOT: 2 = MemoryPhi
+ret void
+}
+
+define void @F2(i8*) {
+ br i1 true, label %left, label %right
+left:
+; CHECK: 1 = MemoryDef(liveOnEntry)
+ store i8 16, i8* %0
+ br label %merge
+right:
+ br label %merge
+
+merge:
+; CHECK: 2 = MemoryPhi({left,1},{right,liveOnEntry})
+%c = load i8, i8* %0
+ret void
+}
More information about the llvm-commits
mailing list