aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
diff options
context:
space:
mode:
authorzhongyunde 00443407 <zhongyunde@huawei.com>2023-10-08 02:56:55 -0400
committerZhongyunde <zhongyunde@huawei.com>2023-10-21 08:56:14 +0800
commit7e3d1103e6e7a7fa9b5f50222732e734d171bc86 (patch)
treeb4a46e8b8d5b0f787458fee49b3b3eb420ae39ff /clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
parent6cbcbecf53a83e7a9b3b9fc2fd1a1d8a82a04892 (diff)
downloadllvm-7e3d1103e6e7a7fa9b5f50222732e734d171bc86.zip
llvm-7e3d1103e6e7a7fa9b5f50222732e734d171bc86.tar.gz
llvm-7e3d1103e6e7a7fa9b5f50222732e734d171bc86.tar.bz2
[InstCombine] optimize powi(X,Y)/X with Ofast (#67236)
Try to transform the powi(X, Y) / X into powi(X, Y-1) with Ofast. For this case, when the Y is 3, then powi(X, 2) is replaced by X * X in the further step. Fixes https://github.com/llvm/llvm-project/pull/67216 Reviewed By: dtcxzyw, nikic, jcranmer-intel
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp')
0 files changed, 0 insertions, 0 deletions