[all-commits] [llvm/llvm-project] 9aa8c8: [SystemZ] Fix 256-bit shifts when i128 is legal

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Wed Jan 10 06:14:14 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9aa8c82748bfb313598e71476123b785f6da41b9
      https://github.com/llvm/llvm-project/commit/9aa8c82748bfb313598e71476123b785f6da41b9
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    A llvm/test/CodeGen/SystemZ/shift-16.ll

  Log Message:
  -----------
  [SystemZ] Fix 256-bit shifts when i128 is legal

When i128 is a legal type, SelectionDAG now attempts to use
SRL_PARTS etc. with type i128, which is not implemented.  Fix
by marking those as Expand, just like we do for i64.

Fixes https://github.com/llvm/llvm-project/issues/77132




More information about the All-commits mailing list