~ryan-rmarcus/pocl/pocl

« back to all changes in this revision

Viewing changes to tests/ifbarrier3.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
 
declare void @barrier(i32 %flags)
 
1
declare void @pocl.barrier()
2
2
 
3
3
define void @ifbarrier3() {
4
4
 
15
15
  br label %e
16
16
 
17
17
barrier:
18
 
  call void @barrier(i32 0)
 
18
  call void @pocl.barrier()
19
19
  br label %e
20
20
 
21
21
e: