[all-commits] [llvm/llvm-project] eee30a: [CodeGen] Modify the refineIndexType(...)'s code t...

yubingex007-a11y via All-commits all-commits at lists.llvm.org
Sun Dec 6 16:50:05 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: eee30a6dceb6da8467fa3e0a7cd35b5a221bed0f
      https://github.com/llvm/llvm-project/commit/eee30a6dceb6da8467fa3e0a7cd35b5a221bed0f
  Author: Bing1 Yu <bing1.yu at intel.com>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/X86/combine-undef-index-mscatter.ll

  Log Message:
  -----------
  [CodeGen] Modify the refineIndexType(...)'s code to fix a bug in D90942.

In previous code, when refineIndexType(...) is called and Index is undef, Index.getOperand(0) will raise a assertion fail.

Reviewed By: pengfei

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




More information about the All-commits mailing list