diff options
author | ignat <ignat@yandex-team.com> | 2023-11-29 20:51:17 +0300 |
---|---|---|
committer | ignat <ignat@yandex-team.com> | 2023-11-29 21:23:02 +0300 |
commit | 30f30da73cc5bb3d45bf1726275921ec159e9abb (patch) | |
tree | b773148706040ee9177d66985e2dbb8a0ab94f6b | |
parent | a822d36fa56ca37d73ad30bd7adf0285a8b9f8c5 (diff) | |
download | ydb-30f30da73cc5bb3d45bf1726275921ec159e9abb.tar.gz |
Use new pass manager in opt to support clang-16 in cmake build
16 files changed, 25 insertions, 82 deletions
diff --git a/build/plugins/llvm_bc.py b/build/plugins/llvm_bc.py index ded53673c9..ddb4bbd84d 100644 --- a/build/plugins/llvm_bc.py +++ b/build/plugins/llvm_bc.py @@ -23,10 +23,13 @@ def onllvm_bc(unit, *args): llvm_compile([rel_path, bc_path]) bcs.append(bc_path) unit.onllvm_link([merged_bc] + bcs) - opt_opts = ['-O2', '-globalopt', '-globaldce'] + passes = ['default<O2>', 'globalopt', 'globaldce'] + opt_opts = [] if symbols: + passes += ['internalize'] # XXX: '#' used instead of ',' to overcome ymake tendency to split everything by comma - opt_opts += ['-internalize', '-internalize-public-api-list=' + '#'.join(symbols)] + opt_opts += ['-internalize-public-api-list=' + '#'.join(symbols)] + opt_opts += ['-passes={}'.format('${__COMMA__}'.join(passes))] unit.onllvm_opt([merged_bc, out_bc] + opt_opts) if 'GENERATE_MACHINE_CODE' in kwds: unit.onllvm_llc([out_bc, '-O2']) diff --git a/ydb/library/yql/minikql/codegen/ut/CMakeLists.darwin-arm64.txt b/ydb/library/yql/minikql/codegen/ut/CMakeLists.darwin-arm64.txt index c782a86aca..a9814062a9 100644 --- a/ydb/library/yql/minikql/codegen/ut/CMakeLists.darwin-arm64.txt +++ b/ydb/library/yql/minikql/codegen/ut/CMakeLists.darwin-arm64.txt @@ -81,11 +81,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/minikql/codegen/ut/Funcs_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/minikql/codegen/ut/Funcs_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=fib#sum_sqr#sum_sqr2#sum_sqr_128#sum_sqr_128_ir#str_size + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/minikql/codegen/ut/CMakeLists.darwin-x86_64.txt b/ydb/library/yql/minikql/codegen/ut/CMakeLists.darwin-x86_64.txt index 7694f807a3..ebf17949c6 100644 --- a/ydb/library/yql/minikql/codegen/ut/CMakeLists.darwin-x86_64.txt +++ b/ydb/library/yql/minikql/codegen/ut/CMakeLists.darwin-x86_64.txt @@ -82,11 +82,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/minikql/codegen/ut/Funcs_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/minikql/codegen/ut/Funcs_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=fib#sum_sqr#sum_sqr2#sum_sqr_128#sum_sqr_128_ir#str_size + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/minikql/codegen/ut/CMakeLists.linux-aarch64.txt b/ydb/library/yql/minikql/codegen/ut/CMakeLists.linux-aarch64.txt index 13c0133c12..6aee816e20 100644 --- a/ydb/library/yql/minikql/codegen/ut/CMakeLists.linux-aarch64.txt +++ b/ydb/library/yql/minikql/codegen/ut/CMakeLists.linux-aarch64.txt @@ -85,11 +85,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/minikql/codegen/ut/Funcs_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/minikql/codegen/ut/Funcs_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=fib#sum_sqr#sum_sqr2#sum_sqr_128#sum_sqr_128_ir#str_size + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/minikql/codegen/ut/CMakeLists.linux-x86_64.txt b/ydb/library/yql/minikql/codegen/ut/CMakeLists.linux-x86_64.txt index 776896263c..1e5faebedf 100644 --- a/ydb/library/yql/minikql/codegen/ut/CMakeLists.linux-x86_64.txt +++ b/ydb/library/yql/minikql/codegen/ut/CMakeLists.linux-x86_64.txt @@ -86,11 +86,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/minikql/codegen/ut/Funcs_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/minikql/codegen/ut/Funcs_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=fib#sum_sqr#sum_sqr2#sum_sqr_128#sum_sqr_128_ir#str_size + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/minikql/codegen/ut/CMakeLists.windows-x86_64.txt b/ydb/library/yql/minikql/codegen/ut/CMakeLists.windows-x86_64.txt index a351e0eae5..b408b09557 100644 --- a/ydb/library/yql/minikql/codegen/ut/CMakeLists.windows-x86_64.txt +++ b/ydb/library/yql/minikql/codegen/ut/CMakeLists.windows-x86_64.txt @@ -75,11 +75,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/minikql/codegen/ut/Funcs_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/minikql/codegen/ut/Funcs_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=fib#sum_sqr#sum_sqr2#sum_sqr_128#sum_sqr_128_ir#str_size + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.darwin-arm64.txt b/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.darwin-arm64.txt index c3ae973d20..e046dedf9e 100644 --- a/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.darwin-arm64.txt +++ b/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.darwin-arm64.txt @@ -73,11 +73,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/yt/codec/codegen/YtCodecFuncs_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/yt/codec/codegen/YtCodecFuncs_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=WriteJust#WriteNothing#WriteBool#Write8#Write16#Write32#Write64#Write120#WriteDecimal32#WriteDecimal64#WriteDecimal128#WriteFloat#WriteDouble#WriteString#ReadBool#ReadInt8#ReadUint8#ReadInt16#ReadUint16#ReadInt32#ReadUint32#ReadInt64#ReadUint64#ReadInt120#ReadDecimal32#ReadDecimal64#ReadDecimal128#ReadFloat#ReadDouble#ReadOptional#ReadVariantData#SkipFixedData#SkipVarData#ReadTzDate#ReadTzDatetime#ReadTzTimestamp#WriteTzDate#WriteTzDatetime#WriteTzTimestamp#GetWrittenBytes#FillZero + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.darwin-x86_64.txt b/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.darwin-x86_64.txt index c3ae973d20..e046dedf9e 100644 --- a/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.darwin-x86_64.txt +++ b/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.darwin-x86_64.txt @@ -73,11 +73,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/yt/codec/codegen/YtCodecFuncs_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/yt/codec/codegen/YtCodecFuncs_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=WriteJust#WriteNothing#WriteBool#Write8#Write16#Write32#Write64#Write120#WriteDecimal32#WriteDecimal64#WriteDecimal128#WriteFloat#WriteDouble#WriteString#ReadBool#ReadInt8#ReadUint8#ReadInt16#ReadUint16#ReadInt32#ReadUint32#ReadInt64#ReadUint64#ReadInt120#ReadDecimal32#ReadDecimal64#ReadDecimal128#ReadFloat#ReadDouble#ReadOptional#ReadVariantData#SkipFixedData#SkipVarData#ReadTzDate#ReadTzDatetime#ReadTzTimestamp#WriteTzDate#WriteTzDatetime#WriteTzTimestamp#GetWrittenBytes#FillZero + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.linux-aarch64.txt b/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.linux-aarch64.txt index 2e39f45b72..5c6d2d8b75 100644 --- a/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.linux-aarch64.txt +++ b/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.linux-aarch64.txt @@ -75,11 +75,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/yt/codec/codegen/YtCodecFuncs_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/yt/codec/codegen/YtCodecFuncs_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=WriteJust#WriteNothing#WriteBool#Write8#Write16#Write32#Write64#Write120#WriteDecimal32#WriteDecimal64#WriteDecimal128#WriteFloat#WriteDouble#WriteString#ReadBool#ReadInt8#ReadUint8#ReadInt16#ReadUint16#ReadInt32#ReadUint32#ReadInt64#ReadUint64#ReadInt120#ReadDecimal32#ReadDecimal64#ReadDecimal128#ReadFloat#ReadDouble#ReadOptional#ReadVariantData#SkipFixedData#SkipVarData#ReadTzDate#ReadTzDatetime#ReadTzTimestamp#WriteTzDate#WriteTzDatetime#WriteTzTimestamp#GetWrittenBytes#FillZero + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.linux-x86_64.txt b/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.linux-x86_64.txt index 2e39f45b72..5c6d2d8b75 100644 --- a/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.linux-x86_64.txt +++ b/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.linux-x86_64.txt @@ -75,11 +75,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/yt/codec/codegen/YtCodecFuncs_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/yt/codec/codegen/YtCodecFuncs_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=WriteJust#WriteNothing#WriteBool#Write8#Write16#Write32#Write64#Write120#WriteDecimal32#WriteDecimal64#WriteDecimal128#WriteFloat#WriteDouble#WriteString#ReadBool#ReadInt8#ReadUint8#ReadInt16#ReadUint16#ReadInt32#ReadUint32#ReadInt64#ReadUint64#ReadInt120#ReadDecimal32#ReadDecimal64#ReadDecimal128#ReadFloat#ReadDouble#ReadOptional#ReadVariantData#SkipFixedData#SkipVarData#ReadTzDate#ReadTzDatetime#ReadTzTimestamp#WriteTzDate#WriteTzDatetime#WriteTzTimestamp#GetWrittenBytes#FillZero + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.windows-x86_64.txt b/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.windows-x86_64.txt index c3ae973d20..e046dedf9e 100644 --- a/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.windows-x86_64.txt +++ b/ydb/library/yql/providers/yt/codec/codegen/CMakeLists.windows-x86_64.txt @@ -73,11 +73,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/yt/codec/codegen/YtCodecFuncs_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/yt/codec/codegen/YtCodecFuncs_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=WriteJust#WriteNothing#WriteBool#Write8#Write16#Write32#Write64#Write120#WriteDecimal32#WriteDecimal64#WriteDecimal128#WriteFloat#WriteDouble#WriteString#ReadBool#ReadInt8#ReadUint8#ReadInt16#ReadUint16#ReadInt32#ReadUint32#ReadInt64#ReadUint64#ReadInt120#ReadDecimal32#ReadDecimal64#ReadDecimal128#ReadFloat#ReadDouble#ReadOptional#ReadVariantData#SkipFixedData#SkipVarData#ReadTzDate#ReadTzDatetime#ReadTzTimestamp#WriteTzDate#WriteTzDatetime#WriteTzTimestamp#GetWrittenBytes#FillZero + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/udfs/common/math/CMakeLists.darwin-arm64.txt b/ydb/library/yql/udfs/common/math/CMakeLists.darwin-arm64.txt index 67fb616f37..4aafc4a3e0 100644 --- a/ydb/library/yql/udfs/common/math/CMakeLists.darwin-arm64.txt +++ b/ydb/library/yql/udfs/common/math/CMakeLists.darwin-arm64.txt @@ -58,11 +58,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_merged.udfs.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_optimized.udfs.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=PiIR#EIR#EpsIR#AbsIR#AcosIR#AsinIR#AsinhIR#AtanIR#CbrtIR#CeilIR#CosIR#CoshIR#ErfIR#ErfInvIR#ErfcInvIR#ExpIR#Exp2IR#FabsIR#FloorIR#LgammaIR#RintIR#SinIR#SinhIR#SqrtIR#TanIR#TanhIR#TgammaIR#TruncIR#IsFiniteIR#IsInfIR#IsNaNIR#Atan2IR#FmodIR#HypotIR#RemainderIR#PowIR#LdexpIR#LogIR#Log2IR#Log10IR#SigmoidIR#FuzzyEqualsIR#RoundIR#ModIR#RemIR + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT @@ -138,11 +135,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=PiIR#EIR#EpsIR#AbsIR#AcosIR#AsinIR#AsinhIR#AtanIR#CbrtIR#CeilIR#CosIR#CoshIR#ErfIR#ErfInvIR#ErfcInvIR#ExpIR#Exp2IR#FabsIR#FloorIR#LgammaIR#RintIR#SinIR#SinhIR#SqrtIR#TanIR#TanhIR#TgammaIR#TruncIR#IsFiniteIR#IsInfIR#IsNaNIR#Atan2IR#FmodIR#HypotIR#RemainderIR#PowIR#LdexpIR#LogIR#Log2IR#Log10IR#SigmoidIR#FuzzyEqualsIR#RoundIR#ModIR#RemIR + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/udfs/common/math/CMakeLists.darwin-x86_64.txt b/ydb/library/yql/udfs/common/math/CMakeLists.darwin-x86_64.txt index 67fb616f37..4aafc4a3e0 100644 --- a/ydb/library/yql/udfs/common/math/CMakeLists.darwin-x86_64.txt +++ b/ydb/library/yql/udfs/common/math/CMakeLists.darwin-x86_64.txt @@ -58,11 +58,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_merged.udfs.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_optimized.udfs.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=PiIR#EIR#EpsIR#AbsIR#AcosIR#AsinIR#AsinhIR#AtanIR#CbrtIR#CeilIR#CosIR#CoshIR#ErfIR#ErfInvIR#ErfcInvIR#ExpIR#Exp2IR#FabsIR#FloorIR#LgammaIR#RintIR#SinIR#SinhIR#SqrtIR#TanIR#TanhIR#TgammaIR#TruncIR#IsFiniteIR#IsInfIR#IsNaNIR#Atan2IR#FmodIR#HypotIR#RemainderIR#PowIR#LdexpIR#LogIR#Log2IR#Log10IR#SigmoidIR#FuzzyEqualsIR#RoundIR#ModIR#RemIR + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT @@ -138,11 +135,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=PiIR#EIR#EpsIR#AbsIR#AcosIR#AsinIR#AsinhIR#AtanIR#CbrtIR#CeilIR#CosIR#CoshIR#ErfIR#ErfInvIR#ErfcInvIR#ExpIR#Exp2IR#FabsIR#FloorIR#LgammaIR#RintIR#SinIR#SinhIR#SqrtIR#TanIR#TanhIR#TgammaIR#TruncIR#IsFiniteIR#IsInfIR#IsNaNIR#Atan2IR#FmodIR#HypotIR#RemainderIR#PowIR#LdexpIR#LogIR#Log2IR#Log10IR#SigmoidIR#FuzzyEqualsIR#RoundIR#ModIR#RemIR + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/udfs/common/math/CMakeLists.linux-aarch64.txt b/ydb/library/yql/udfs/common/math/CMakeLists.linux-aarch64.txt index de01723acf..1833f3124c 100644 --- a/ydb/library/yql/udfs/common/math/CMakeLists.linux-aarch64.txt +++ b/ydb/library/yql/udfs/common/math/CMakeLists.linux-aarch64.txt @@ -60,11 +60,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_merged.udfs.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_optimized.udfs.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=PiIR#EIR#EpsIR#AbsIR#AcosIR#AsinIR#AsinhIR#AtanIR#CbrtIR#CeilIR#CosIR#CoshIR#ErfIR#ErfInvIR#ErfcInvIR#ExpIR#Exp2IR#FabsIR#FloorIR#LgammaIR#RintIR#SinIR#SinhIR#SqrtIR#TanIR#TanhIR#TgammaIR#TruncIR#IsFiniteIR#IsInfIR#IsNaNIR#Atan2IR#FmodIR#HypotIR#RemainderIR#PowIR#LdexpIR#LogIR#Log2IR#Log10IR#SigmoidIR#FuzzyEqualsIR#RoundIR#ModIR#RemIR + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT @@ -146,11 +143,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=PiIR#EIR#EpsIR#AbsIR#AcosIR#AsinIR#AsinhIR#AtanIR#CbrtIR#CeilIR#CosIR#CoshIR#ErfIR#ErfInvIR#ErfcInvIR#ExpIR#Exp2IR#FabsIR#FloorIR#LgammaIR#RintIR#SinIR#SinhIR#SqrtIR#TanIR#TanhIR#TgammaIR#TruncIR#IsFiniteIR#IsInfIR#IsNaNIR#Atan2IR#FmodIR#HypotIR#RemainderIR#PowIR#LdexpIR#LogIR#Log2IR#Log10IR#SigmoidIR#FuzzyEqualsIR#RoundIR#ModIR#RemIR + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/udfs/common/math/CMakeLists.linux-x86_64.txt b/ydb/library/yql/udfs/common/math/CMakeLists.linux-x86_64.txt index de01723acf..1833f3124c 100644 --- a/ydb/library/yql/udfs/common/math/CMakeLists.linux-x86_64.txt +++ b/ydb/library/yql/udfs/common/math/CMakeLists.linux-x86_64.txt @@ -60,11 +60,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_merged.udfs.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_optimized.udfs.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=PiIR#EIR#EpsIR#AbsIR#AcosIR#AsinIR#AsinhIR#AtanIR#CbrtIR#CeilIR#CosIR#CoshIR#ErfIR#ErfInvIR#ErfcInvIR#ExpIR#Exp2IR#FabsIR#FloorIR#LgammaIR#RintIR#SinIR#SinhIR#SqrtIR#TanIR#TanhIR#TgammaIR#TruncIR#IsFiniteIR#IsInfIR#IsNaNIR#Atan2IR#FmodIR#HypotIR#RemainderIR#PowIR#LdexpIR#LogIR#Log2IR#Log10IR#SigmoidIR#FuzzyEqualsIR#RoundIR#ModIR#RemIR + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT @@ -146,11 +143,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=PiIR#EIR#EpsIR#AbsIR#AcosIR#AsinIR#AsinhIR#AtanIR#CbrtIR#CeilIR#CosIR#CoshIR#ErfIR#ErfInvIR#ErfcInvIR#ExpIR#Exp2IR#FabsIR#FloorIR#LgammaIR#RintIR#SinIR#SinhIR#SqrtIR#TanIR#TanhIR#TgammaIR#TruncIR#IsFiniteIR#IsInfIR#IsNaNIR#Atan2IR#FmodIR#HypotIR#RemainderIR#PowIR#LdexpIR#LogIR#Log2IR#Log10IR#SigmoidIR#FuzzyEqualsIR#RoundIR#ModIR#RemIR + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT diff --git a/ydb/library/yql/udfs/common/math/CMakeLists.windows-x86_64.txt b/ydb/library/yql/udfs/common/math/CMakeLists.windows-x86_64.txt index c5352d90fe..86a0334891 100644 --- a/ydb/library/yql/udfs/common/math/CMakeLists.windows-x86_64.txt +++ b/ydb/library/yql/udfs/common/math/CMakeLists.windows-x86_64.txt @@ -58,11 +58,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_merged.udfs.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_optimized.udfs.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=PiIR#EIR#EpsIR#AbsIR#AcosIR#AsinIR#AsinhIR#AtanIR#CbrtIR#CeilIR#CosIR#CoshIR#ErfIR#ErfInvIR#ErfcInvIR#ExpIR#Exp2IR#FabsIR#FloorIR#LgammaIR#RintIR#SinIR#SinhIR#SqrtIR#TanIR#TanhIR#TgammaIR#TruncIR#IsFiniteIR#IsInfIR#IsNaNIR#Atan2IR#FmodIR#HypotIR#RemainderIR#PowIR#LdexpIR#LogIR#Log2IR#Log10IR#SigmoidIR#FuzzyEqualsIR#RoundIR#ModIR#RemIR + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT @@ -131,11 +128,8 @@ add_custom_command( ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_merged.bc -o ${CMAKE_BINARY_DIR}/ydb/library/yql/udfs/common/math/Math_optimized.bc - -O2 - -globalopt - -globaldce - -internalize -internalize-public-api-list=PiIR#EIR#EpsIR#AbsIR#AcosIR#AsinIR#AsinhIR#AtanIR#CbrtIR#CeilIR#CosIR#CoshIR#ErfIR#ErfInvIR#ErfcInvIR#ExpIR#Exp2IR#FabsIR#FloorIR#LgammaIR#RintIR#SinIR#SinhIR#SqrtIR#TanIR#TanhIR#TgammaIR#TruncIR#IsFiniteIR#IsInfIR#IsNaNIR#Atan2IR#FmodIR#HypotIR#RemainderIR#PowIR#LdexpIR#LogIR#Log2IR#Log10IR#SigmoidIR#FuzzyEqualsIR#RoundIR#ModIR#RemIR + -passes=default<O2>,globalopt,globaldce,internalize ) add_custom_command( OUTPUT |