diff options
author | Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> | 2024-09-04 22:01:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 22:01:04 +0100 |
commit | 16900d3b98e6c8fbdad4411a054e3566bbbf9235 (patch) | |
tree | d12dfa61557b0424e7ce0ba795650ba497140d92 /llvm/lib/IR/Function.cpp | |
parent | 52dc4918ca8b874ddd4e4fcad873a66ecc5b6953 (diff) | |
download | llvm-16900d3b98e6c8fbdad4411a054e3566bbbf9235.zip llvm-16900d3b98e6c8fbdad4411a054e3566bbbf9235.tar.gz llvm-16900d3b98e6c8fbdad4411a054e3566bbbf9235.tar.bz2 |
LICM: hoist BO assoc when BinOp is in RHS (#107072)
Extend hoistBOAssociation smoothly to handle the case when the inner
BinaryOperator is in the RHS of the outer BinaryOperator. This completes
the generalization of hoistBOAssociation, and the only limitation after
this patch is the fact that only Add and Mul are hoisted.
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions