~ryan-rmarcus/pocl/pocl

« back to all changes in this revision

Viewing changes to tests/barriers1_golden.ll

  • Committer: Carlos Sánchez de La Lama
  • Date: 2011-12-12 04:35:55 UTC
  • mto: This revision was merged to the branch mainline in revision 109.
  • Revision ID: carlos.delalama@urjc.es-20111212043555-ct245z61erk23htj
Using intrinsic (sort of) for barriers, working & tests updates.
New class ParallelRegion & Barrier (still unused).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
; ModuleID = 'barriers1_input.ll'
2
2
 
3
 
declare void @barrier(i32)
 
3
declare void @pocl.barrier()
4
4
 
5
5
declare void @foo()
6
6
 
10
10
  br label %barrier
11
11
 
12
12
barrier:                                          ; preds = %barrier.prebarrier
13
 
  call void @barrier(i32 0)
 
13
  call void @pocl.barrier()
14
14
  br label %barrier.postbarrier
15
15
 
16
16
barrier.postbarrier:                              ; preds = %barrier