[all-commits] [llvm/llvm-project] 37f277: [ConstantFold] Fold binary arithmetic on scalable ...

Eli Friedman via All-commits all-commits at lists.llvm.org
Fri Sep 11 16:42:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 37f2776d1af27a38ba4fabf3b356d71590f70d90
      https://github.com/llvm/llvm-project/commit/37f2776d1af27a38ba4fabf3b356d71590f70d90
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-09-11 (Fri, 11 Sep 2020)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/vscale.ll

  Log Message:
  -----------
  [ConstantFold] Fold binary arithmetic on scalable vector splats.

It's a nice simplification, and it confuses instcombine if we don't do
it.

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




More information about the All-commits mailing list