summaryrefslogtreecommitdiffstats
path: root/polly/test/CodeGen/single_loop_param.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/CodeGen/single_loop_param.ll')
-rw-r--r--polly/test/CodeGen/single_loop_param.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/polly/test/CodeGen/single_loop_param.ll b/polly/test/CodeGen/single_loop_param.ll
index a438423f143..149351f86d3 100644
--- a/polly/test/CodeGen/single_loop_param.ll
+++ b/polly/test/CodeGen/single_loop_param.ll
@@ -8,7 +8,7 @@ target triple = "x86_64-pc-linux-gnu"
define void @bar(i64 %n) nounwind {
bb:
- call void @llvm.memory.barrier(i1 true, i1 true, i1 true, i1 true, i1 false)
+ fence seq_cst
br label %bb1
bb1: ; preds = %bb3, %bb
@@ -26,12 +26,10 @@ bb3: ; preds = %bb2
br label %bb1
bb4: ; preds = %bb1
- call void @llvm.memory.barrier(i1 true, i1 true, i1 true, i1 true, i1 false)
+ fence seq_cst
ret void
}
-declare void @llvm.memory.barrier(i1, i1, i1, i1, i1) nounwind
-
define i32 @main() nounwind {
bb:
call void @llvm.memset.p0i8.i64(i8* bitcast ([1024 x i32]* @A to i8*), i8 0, i64 4096, i32 1, i1 false)
OpenPOWER on IntegriCloud