[all-commits] [llvm/llvm-project] 82b743: [DAG] reassociateOpsCommutative - peek through bit...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Nov 11 04:00:45 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82b74363a943b570c4ee7799d5f3ee4b3e7163a5
      https://github.com/llvm/llvm-project/commit/82b74363a943b570c4ee7799d5f3ee4b3e7163a5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll
    M llvm/test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll

  Log Message:
  -----------
  [DAG] reassociateOpsCommutative - peek through bitcasts to find constants

Now that FoldConstantArithmetic can fold bitcasted constants, we should peek through bitcasts of binop operands to try and find foldable constants




More information about the All-commits mailing list