[all-commits] [llvm/llvm-project] 7c69a0: [ConstantFold][SVE] Fix constant folding for shuff...

Eli Friedman via All-commits all-commits at lists.llvm.org
Mon Dec 9 15:32:06 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c69a03c56601a55f47f29ea59e33c37e62db556
      https://github.com/llvm/llvm-project/commit/7c69a03c56601a55f47f29ea59e33c37e62db556
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2019-12-09 (Mon, 09 Dec 2019)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/ConstantsContext.h
    A llvm/test/Analysis/ConstantFolding/shufflevector.ll

  Log Message:
  -----------
  [ConstantFold][SVE] Fix constant folding for shufflevector.

Don't try to fold away shuffles which can't be folded.  Fix creation of
shufflevector constant expressions.

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




More information about the All-commits mailing list