[all-commits] [llvm/llvm-project] 1ee957: [InstCombine] Funnel shift with negative amount fo...

sallto via All-commits all-commits at lists.llvm.org
Wed May 7 06:51:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ee9576ee7b80fe9b965e597041c6b197a333275
      https://github.com/llvm/llvm-project/commit/1ee9576ee7b80fe9b965e597041c6b197a333275
  Author: sallto <68823230+sallto at users.noreply.github.com>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/fsh.ll

  Log Message:
  -----------
  [InstCombine] Funnel shift with negative amount folds to funnel shift in opposite direction (#138334) (#138763)

Partially `fixes` #138334.

Combine fshl(X,X,Neg(Y)) into fshr(X,X,Y) and
fshr(X,X,Neg(Y)) into fshl(X,X,Y)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list