[all-commits] [llvm/llvm-project] 9075ed: [InstCombine] move shl-only folds out from under c...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Sep 27 09:24:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9075edc89bc9b962ef0d16baf57b57b4eb83cf0f
      https://github.com/llvm/llvm-project/commit/9075edc89bc9b962ef0d16baf57b57b4eb83cf0f
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-09-27 (Mon, 27 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp

  Log Message:
  -----------
  [InstCombine] move shl-only folds out from under commonShiftTransforms(); NFCI

This is no-functional-change-intended, but it hopefully makes things
slightly clearer and more efficient to have transforms that require
'shl' be called only from visitShl(). Further cleanup is possible.




More information about the All-commits mailing list