[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / libclc / generic / lib / math / clc_sw_binary.inc
blob7741475c23717cbc583a5fd3ff7bd830d80ef41e
1 #include <utils.h>
3 #define __CLC_SW_FUNC(x) __CLC_CONCAT(__clc_, x)
5 // TODO: Enable half precision when the sw routine is implemented
6 #if __CLC_FPSIZE > 16
7 _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __CLC_FUNC(__CLC_GENTYPE x, __CLC_GENTYPE y) {
8   return __CLC_SW_FUNC(__CLC_FUNC)(x, y);
10 #endif
12 #undef __CLC_SW_FUNC