diff options
author | Jeroen Ketema <j.ketema@imperial.ac.uk> | 2014-06-26 15:26:38 +0000 |
---|---|---|
committer | Jeroen Ketema <j.ketema@imperial.ac.uk> | 2014-06-26 15:26:38 +0000 |
commit | 575fb84cc389bba5f9182b41f9b85f200cee4697 (patch) | |
tree | 803906d1699c04c015fafa642591955db71b970e /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 606769ecc6f41f6c0b1828c1e4420470ac5d2ca7 (diff) | |
download | llvm-575fb84cc389bba5f9182b41f9b85f200cee4697.zip llvm-575fb84cc389bba5f9182b41f9b85f200cee4697.tar.gz llvm-575fb84cc389bba5f9182b41f9b85f200cee4697.tar.bz2 |
OpenCL 1.1 does not define CL_VERSION_1_2 so use hardcoded number instead
Otherwise the test evaluates to true on OpenCL 1.1 and earlier. Since we
therefore cannot use the CL_VERSION_?_? macros move them to the proper
position in the top-level header.
llvm-svn: 211787
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions