[all-commits] [llvm/llvm-project] ed443d: [AggressiveInstCombine] Only fold consecutive shif...

aeubanks via All-commits all-commits at lists.llvm.org
Thu May 4 13:52:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed443d81d16768786b81534094ae64fa0afa5936
      https://github.com/llvm/llvm-project/commit/ed443d81d16768786b81534094ae64fa0afa5936
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/test/Transforms/AggressiveInstCombine/X86/or-load.ll

  Log Message:
  -----------
  [AggressiveInstCombine] Only fold consecutive shifts of loads with constant shift amounts

This is what the code assumed but never actually checked.

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

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D149896




More information about the All-commits mailing list