[all-commits] [llvm/llvm-project] 9e3b7e: [X86] getTargetVShiftByConstNode - use SelectionDA...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Apr 28 09:11:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e3b7e8e656bdcf5aeafbac7b345a7b29272434c
      https://github.com/llvm/llvm-project/commit/9e3b7e8e656bdcf5aeafbac7b345a7b29272434c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-04-28 (Thu, 28 Apr 2022)

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

  Log Message:
  -----------
  [X86] getTargetVShiftByConstNode - use SelectionDAG::FoldConstantArithmetic to perform constant folding. NFCI.

Remove some unnecessary code duplication.




More information about the All-commits mailing list