[PATCH 0/3] fp64 build modifications (again)

Mostly the same patches rebased and updated. Some of them were reviewed, I just did not feel like pushing patches with 7months old reviews, sorry about that.

I can squash the last patch, but I wanted the idea to be preserved in history.

thanks,
Jan

Jan Vesely (3):
  configure: Introduce per device defines
  configure: Remove cl_khr_fp64 for device that don't support doubles
  configure: Remove llvm 3.6 defines

configure.py | 35 ++++++++++++++++++++++++-----------
1 file changed, 24 insertions(+), 11 deletions(-)

Make cl_khr_fp64 define per-device.
This patch does not change the generated Makefile (for llvm 3.6, 3.7)

v2: Make the device defines per LLVM version, 'all' for all versions

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>

Also remove definitions if provided by clang (3.7+)
This halves the size of builtin.opt.{cedar,barts}.bc

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>

we require llvm 3.7

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>

Mostly the same patches rebased and updated. Some of them were reviewed, I just did not feel like pushing patches with 7months old reviews, sorry about that.

I can squash the last patch, but I wanted the idea to be preserved in history.

The whole series LGTM.

-Tom