libclc was defining and undefing GENTYPE and several other macros with common names in its header files. This was preventing applications from defining macros with identical names as command line arguments to the compiler, because the definitions in the header files were masking the macros defined as compiler arguements. Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 185838
7 lines
144 B
C
7 lines
144 B
C
#undef exp2
|
|
#define exp2 __clc_exp2
|
|
|
|
#define __CLC_FUNCTION __clc_exp2
|
|
#define __CLC_INTRINSIC "llvm.exp2"
|
|
#include <clc/math/unary_intrin.inc>
|