[llvm] [LICM][WIP] Make an integer version of hoistFPAssociation. (PR #67736)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 12:59:56 PDT 2023


================
@@ -2719,6 +2728,65 @@ static bool hoistFPAssociation(Instruction &I, Loop &L,
   return true;
 }
 
+static bool hoistIntAssociation(Instruction &I, Loop &L,
----------------
nikic wrote:

This should probably be explicitly mentioned in LangRef, but we widely assume that reassoc also permits distribution.

https://github.com/llvm/llvm-project/pull/67736


More information about the llvm-commits mailing list