[PATCH] Resend: Split sources for amdgcn and r600

Resending as a pastebin because my original email is stuck waiting for moderation because it is too big.

http://www.fpaste.org/318586/

Resending as a pastebin because my original email is stuck waiting for
moderation because it is too big.

--> This now requires 3.9/trunk to build amdgcn.

Is this because of the rename changes or because of the barrier changes ?

Could you please also change the check in configure?py

if llvm_int_version < 370:
    print "libclc requires LLVM >= 3.7"
    sys.exit(1)

in order to adapt to the build arch ?

Resending as a pastebin because my original email is stuck waiting for
moderation because it is too big.

--> This now requires 3.9/trunk to build amdgcn.

Is this because of the rename changes or because of the barrier changes ?

This is to generally start using different intrinsics or implementations. The barrier change is just the first one included here.

Could you please also change the check in configure?py

if llvm_int_version < 370:
   print "libclc requires LLVM >= 3.7"
   sys.exit(1)

in order to adapt to the build arch ?

Done

ping

Resending as a pastebin because my original email is stuck waiting for moderation because it is too big.

http://www.fpaste.org/318586/

LGTM.