[all-commits] [llvm/llvm-project] 60e9ee: [MergeFuncs] Don't merge shufflevectors with diffe...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat May 2 01:22:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 60e9ee16b4a44166e5ceda44acb16f098b19cab4
      https://github.com/llvm/llvm-project/commit/60e9ee16b4a44166e5ceda44acb16f098b19cab4
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-05-02 (Sat, 02 May 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/FunctionComparator.cpp
    A llvm/test/Transforms/MergeFunc/shufflevector.ll

  Log Message:
  -----------
  [MergeFuncs] Don't merge shufflevectors with different masks

When the shufflevector mask operand was converted into special
instruction data, the FunctionComparator was not updated to
account for this. As such, MergeFuncs will happily merge
shufflevectors with different masks.

This fixes https://bugs.llvm.org/show_bug.cgi?id=45773.

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




More information about the All-commits mailing list