aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <ramkumar.ramachandra@codasip.com>2024-09-04 22:01:04 +0100
committerGitHub <noreply@github.com>2024-09-04 22:01:04 +0100
commit16900d3b98e6c8fbdad4411a054e3566bbbf9235 (patch)
treed12dfa61557b0424e7ce0ba795650ba497140d92 /llvm/lib/IR/Function.cpp
parent52dc4918ca8b874ddd4e4fcad873a66ecc5b6953 (diff)
downloadllvm-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