[all-commits] [llvm/llvm-project] a9d811: [X86] combineOr - pull out repeated SDLoc(). NFCI.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Dec 14 07:36:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9d811405f887fbc438154047aaa7954ad99a19e
      https://github.com/llvm/llvm-project/commit/a9d811405f887fbc438154047aaa7954ad99a19e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] combineOr - pull out repeated SDLoc(). NFCI.


  Commit: 4f2e183229b8a9ce3c9b3d8c43b5bc7c985540eb
      https://github.com/llvm/llvm-project/commit/4f2e183229b8a9ce3c9b3d8c43b5bc7c985540eb
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/setcc-lowering.ll
    M llvm/test/CodeGen/X86/vshift-6.ll

  Log Message:
  -----------
  [X86] combineOr - don't demand operand elements if the other operand element is 'allones'

If either operand has an element with allbits set, then we don't need the equivalent element from the other operand, as allbits are guaranteed to be set.


Compare: https://github.com/llvm/llvm-project/compare/f00da7c3bc8e...4f2e183229b8


More information about the All-commits mailing list