[all-commits] [llvm/llvm-project] 1f006f: [DAG] mergeTruncStores - early out if we collect m...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jun 23 08:23:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f006f5fb63df4facb2c45511090b3fdd3e07de5
      https://github.com/llvm/llvm-project/commit/1f006f5fb63df4facb2c45511090b3fdd3e07de5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

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

  Log Message:
  -----------
  [DAG] mergeTruncStores - early out if we collect more than the maximum number of stores

If we have an excessive number of stores in a single chain then the candidate WideVT may exceed the maximum width of an EVT integer type (and will assert) - but since mergeTruncStores doesn't support anything wider than a i64 store we should just early-out if we've collected more than stores than that.

Fixes #63306




More information about the All-commits mailing list