[all-commits] [llvm/llvm-project] d24c93: [X86] Enable reassociation for ADD instructions
weiguozhi via All-commits
all-commits at lists.llvm.org
Tue Oct 25 17:48:40 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d24c93cc4107dca68a2760199e970cb04cdeed90
https://github.com/llvm/llvm-project/commit/d24c93cc4107dca68a2760199e970cb04cdeed90
Author: Guozhi Wei <carrot at google.com>
Date: 2022-10-26 (Wed, 26 Oct 2022)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll
M llvm/test/CodeGen/X86/DynamicCalleeSavedRegisters.ll
M llvm/test/CodeGen/X86/add-sub-bool.ll
M llvm/test/CodeGen/X86/alias-static-alloca.ll
M llvm/test/CodeGen/X86/avx512-intrinsics-x86_64.ll
M llvm/test/CodeGen/X86/avx512-intrinsics.ll
M llvm/test/CodeGen/X86/avx512-regcall-Mask.ll
M llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
M llvm/test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll
M llvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll
M llvm/test/CodeGen/X86/div-rem-pair-recomposition-unsigned.ll
M llvm/test/CodeGen/X86/divide-by-constant.ll
M llvm/test/CodeGen/X86/divmod128.ll
M llvm/test/CodeGen/X86/fold-add.ll
M llvm/test/CodeGen/X86/fold-tied-op.ll
M llvm/test/CodeGen/X86/h-registers-1.ll
M llvm/test/CodeGen/X86/hipe-cc.ll
M llvm/test/CodeGen/X86/hipe-cc64.ll
M llvm/test/CodeGen/X86/imul.ll
M llvm/test/CodeGen/X86/lea-opt-cse4.ll
M llvm/test/CodeGen/X86/lea-opt2.ll
M llvm/test/CodeGen/X86/lrshrink.ll
M llvm/test/CodeGen/X86/midpoint-int.ll
M llvm/test/CodeGen/X86/misched-balance.ll
M llvm/test/CodeGen/X86/misched-matrix.ll
M llvm/test/CodeGen/X86/mul-constant-i16.ll
M llvm/test/CodeGen/X86/mul-constant-i32.ll
M llvm/test/CodeGen/X86/mul-constant-i64.ll
M llvm/test/CodeGen/X86/mul-i1024.ll
M llvm/test/CodeGen/X86/mul-i256.ll
M llvm/test/CodeGen/X86/mul-i512.ll
M llvm/test/CodeGen/X86/mul128.ll
M llvm/test/CodeGen/X86/mul64.ll
M llvm/test/CodeGen/X86/muloti.ll
M llvm/test/CodeGen/X86/popcnt.ll
M llvm/test/CodeGen/X86/pr34080-2.ll
M llvm/test/CodeGen/X86/pr36865.ll
M llvm/test/CodeGen/X86/reassociate-add.ll
M llvm/test/CodeGen/X86/smul-with-overflow.ll
M llvm/test/CodeGen/X86/smul_fix.ll
M llvm/test/CodeGen/X86/smul_fix_sat.ll
M llvm/test/CodeGen/X86/smulo-128-legalisation-lowering.ll
M llvm/test/CodeGen/X86/sse-regcall.ll
M llvm/test/CodeGen/X86/stack-clash-large.ll
M llvm/test/CodeGen/X86/statepoint-live-in.ll
M llvm/test/CodeGen/X86/statepoint-regs.ll
M llvm/test/CodeGen/X86/swift-return.ll
M llvm/test/CodeGen/X86/twoaddr-lea.ll
M llvm/test/CodeGen/X86/umul-with-overflow.ll
M llvm/test/CodeGen/X86/umul_fix.ll
M llvm/test/CodeGen/X86/urem-seteq-nonzero.ll
M llvm/test/CodeGen/X86/vec_smulo.ll
M llvm/test/CodeGen/X86/vp2intersect_multiple_pairs.ll
M llvm/test/CodeGen/X86/win-smallparams.ll
M llvm/test/CodeGen/X86/x86-cmov-converter.ll
M llvm/test/CodeGen/X86/x86-no_caller_saved_registers-preserve.ll
M llvm/test/CodeGen/X86/xmulo.ll
Log Message:
-----------
[X86] Enable reassociation for ADD instructions
ADD is an associative and commutative operation, so we can do reassociation for it.
Differential Revision: https://reviews.llvm.org/D136396
More information about the All-commits
mailing list