[all-commits] [llvm/llvm-project] 4c72b1: [X86] X86FastISel::fastMaterializeConstant - break...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Sep 25 06:35:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c72b10f0a28be7beb6f7a8cd7d031c9810dc23b
      https://github.com/llvm/llvm-project/commit/4c72b10f0a28be7beb6f7a8cd7d031c9810dc23b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-25 (Sat, 25 Sep 2021)

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

  Log Message:
  -----------
  [X86] X86FastISel::fastMaterializeConstant - break if-else chain to fix llvm-else-after-return warning. NFCI

All previous if-else cases return


  Commit: f5a26ccae24caa21f7adafe0aab704fd0bc5a618
      https://github.com/llvm/llvm-project/commit/f5a26ccae24caa21f7adafe0aab704fd0bc5a618
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-25 (Sat, 25 Sep 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/madd.ll

  Log Message:
  -----------
  [X86][SSE] combineMulToPMADDWD - enable sext(v8i16) -> zext(v8i16) fold on pre-SSE41 targets

We already do this on SSE41 targets where we have sext/zext instructions, now that combineShiftToPMULH handles SSE2 targets, we can enable this here as well.


Compare: https://github.com/llvm/llvm-project/compare/a25f25c3b7eb...f5a26ccae24c


More information about the All-commits mailing list