aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2024-04-11 14:56:39 -0400
committerGitHub <noreply@github.com>2024-04-11 14:56:39 -0400
commit6b85fb1ef8586181fbdb02ca11a3bb0e9006aabd (patch)
tree196527be74f123f40af6e003303005c1665d2a82 /clang/lib/CodeGen/CodeGenModule.cpp
parent5bed6afc21c9ff9dba4aabf5ac74cb12971f634f (diff)
downloadllvm-6b85fb1ef8586181fbdb02ca11a3bb0e9006aabd.zip
llvm-6b85fb1ef8586181fbdb02ca11a3bb0e9006aabd.tar.gz
llvm-6b85fb1ef8586181fbdb02ca11a3bb0e9006aabd.tar.bz2
[SLP]Consider (f)sub, being operand of llvm.(f)abs/icmp eq/ne 0, commutative.
If (f)sub is only operand of llvm.(f)abs or icmp eq/ne 0 (int only), we can consider it as commutative operation, just need to drop wrapping flags for ineteger operation. https://alive2.llvm.org/ce/z/GxvxjB for correctness of abs with dropped flags. Reviewers: RKSimon Reviewed By: RKSimon Pull Request: https://github.com/llvm/llvm-project/pull/86196
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions