[all-commits] [llvm/llvm-project] 53b597: [SelectionDAG] Merge constant SDNode arithmetic in...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Feb 24 10:55:42 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 53b597cfa2cd350704ac1708b1debd97ef027386
      https://github.com/llvm/llvm-project/commit/53b597cfa2cd350704ac1708b1debd97ef027386
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-02-24 (Mon, 24 Feb 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Merge constant SDNode arithmetic into foldConstantArithmetic

This is the second patch as part of https://bugs.llvm.org/show_bug.cgi?id=36544

Merging in the ConstantSDNode variant of FoldConstantArithmetic. After this, I will begin merging in FoldConstantVectorArithmetic

I've ensured this patch can build & pass all lit tests in Windows and Linux environments.

Patch by @justice_adams (Justice Adams)

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




More information about the All-commits mailing list