Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / test / Transforms / LCSSA / unreachable-use.ll
index c389c9cfa878c55c267786e3383b2f11c70640aa..c9e456c17474ae3e5e1b1557b37ba9e12452f7ac 100644 (file)
@@ -1,9 +1,11 @@
-; RUN: opt < %s -lcssa -S -verify-loop-info | grep {\[%\]tmp33 = load i1\\*\\* \[%\]tmp}
+; RUN: opt < %s -lcssa -S -verify-loop-info | FileCheck %s
 ; PR6546
 
 ; LCSSA doesn't need to transform uses in blocks not reachable
 ; from the entry block.
 
+; CHECK: %tmp33 = load i1*, i1** %tmp
+
 define fastcc void @dfs() nounwind {
 bb:
   br label %bb44
@@ -19,7 +21,7 @@ bb15:
   br label %bb44
 
 bb32:
-  %tmp33 = load i1** %tmp, align 8
+  %tmp33 = load i1*, i1** %tmp, align 8
   br label %bb45
 
 bb45: