This extends SimplifyCFG hoisting to also hoist instructions with commuted operands, for example a+b on one side and b+a on the other side. This should address the issue mentioned in: https://github.com/llvm/llvm-project/pull/91185#issuecomment-2097447927
14 KiB
14 KiB