[all-commits] [llvm/llvm-project] 5e9365: [X86] combineAddOrSubToADCOrSBB - bail for illegal...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Mar 21 06:31:38 PDT 2022


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

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

  Log Message:
  -----------
  [X86] combineAddOrSubToADCOrSBB - bail for illegal types

Ensure we don't attempt to fold to illegal types to ADC/SBB nodes.

After D122084 its possible for ADD(X,AND(SRL(Y,Z),1) patterns to be matched before type legalization.




More information about the All-commits mailing list