[all-commits] [llvm/llvm-project] f7245e: [DAGCombiner] ISD::SHL/SRA/SRL - use general Selec...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jan 29 10:49:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f7245ef8976d9dc85aab0bd86770ef46947629a0
      https://github.com/llvm/llvm-project/commit/f7245ef8976d9dc85aab0bd86770ef46947629a0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAGCombiner] ISD::SHL/SRA/SRL - use general SelectionDAG::FoldConstantArithmetic

This handles all the constant splat / opaque testing for us.




More information about the All-commits mailing list