[all-commits] [llvm/llvm-project] 3db858: [X86] combineAdd - fold ADD(ADC(Y, 0, W), X) -> ADC(X...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Mar 25 03:52:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3db858c58cee776a69f8ab234cb188bd1b06aad2
      https://github.com/llvm/llvm-project/commit/3db858c58cee776a69f8ab234cb188bd1b06aad2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-03-25 (Fri, 25 Mar 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-add.ll

  Log Message:
  -----------
  [X86] combineAdd - fold ADD(ADC(Y,0,W),X) -> ADC(X,Y,W)

This also exposed a missed ADC canonicalization of constant ops to the RHS




More information about the All-commits mailing list