summaryrefslogtreecommitdiff
path: root/Source/GPUVerify
diff options
context:
space:
mode:
authorGravatar Peter Collingbourne <peter@pcc.me.uk>2012-06-07 20:27:34 +0100
committerGravatar Peter Collingbourne <peter@pcc.me.uk>2012-06-07 20:27:34 +0100
commit5e4035295b5bb48342216686cae112255b77d98a (patch)
treefd2320f073f5ca804a28fe6245112328d6bb96c6 /Source/GPUVerify
parentbcb4b69e529235b16d01c99dacb89f617ba9883f (diff)
GPUVerify: re-introduce the non-divergence check in unstructured mode
This is OK now that we have assume stealing.
Diffstat (limited to 'Source/GPUVerify')
-rw-r--r--Source/GPUVerify/GPUVerifier.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/GPUVerify/GPUVerifier.cs b/Source/GPUVerify/GPUVerifier.cs
index 27909c52..9d235bee 100644
--- a/Source/GPUVerify/GPUVerifier.cs
+++ b/Source/GPUVerify/GPUVerifier.cs
@@ -1375,8 +1375,7 @@ namespace GPUVerify
IdentifierExpr P1 = new IdentifierExpr(tok, new LocalVariable(tok, BarrierProcedure.InParams[0].TypedIdent));
IdentifierExpr P2 = new IdentifierExpr(tok, new LocalVariable(tok, BarrierProcedure.InParams[1].TypedIdent));
- if (!CommandLineOptions.Unstructured)
- checkNonDivergence.simpleCmds.Add(new AssertCmd(tok, Expr.Eq(P1, P2)));
+ checkNonDivergence.simpleCmds.Add(new AssertCmd(tok, Expr.Eq(P1, P2)));
if (!CommandLineOptions.OnlyDivergence)
{