[llvm] [InstCombine] Fix the correctness of missing check reassoc attribute (PR #71277)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 05:48:41 PST 2023


================
@@ -177,6 +177,15 @@ void Instruction::setNonNeg(bool b) {
                          (b * PossiblyNonNegInst::NonNeg);
 }
 
+bool Instruction::hasAllowReassocOfAllOperand() const {
----------------
vfdff wrote:

Thank you for your confirmation, so I'll continue to try to fix it as discussed earlier.

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


More information about the llvm-commits mailing list