[all-commits] [llvm/llvm-project] 0ec712: [BitcodeReader] Fix DelayedShuffle handling for Co...

Eli Friedman via All-commits all-commits at lists.llvm.org
Tue Jun 30 13:23:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ec712afec642fa6a57fe17be0c8d7d096bf7434
      https://github.com/llvm/llvm-project/commit/0ec712afec642fa6a57fe17be0c8d7d096bf7434
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    A llvm/test/Bitcode/vscale-shuffle.ll

  Log Message:
  -----------
  [BitcodeReader] Fix DelayedShuffle handling for ConstantExpr shuffles.

The indexing was messed up, so the result was completely broken.

Shuffle constant exprs are rare in practice; without vscale types,
constant folding generally elminates them. So sort of hard to trip over.

Fixes regression from D72467.

(Recommitting after fix for memory leak.)

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




More information about the All-commits mailing list