~ryan-rmarcus/pocl/pocl

« back to all changes in this revision

Viewing changes to tests/barriertails2_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 = 'barriertails2_input.ll'
2
2
 
3
 
declare void @barrier(i32)
 
3
declare void @pocl.barrier()
4
4
 
5
5
define void @ifbarrier4() {
6
6
a:
7
7
  br i1 true, label %b, label %barrier
8
8
 
9
9
barrier:                                          ; preds = %a
10
 
  call void @barrier(i32 0)
 
10
  call void @pocl.barrier()
11
11
  br label %c.btr
12
12
 
13
13
b:                                                ; preds = %a