[all-commits] [llvm/llvm-project] c546f1: [DAGCombiner] Replace LegalOperations check in vis...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Mar 2 07:53:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c546f13f1f43e34a6a39ac70d3cf70adab4d05f4
      https://github.com/llvm/llvm-project/commit/c546f13f1f43e34a6a39ac70d3cf70adab4d05f4
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/AArch64/pr61111.ll

  Log Message:
  -----------
  [DAGCombiner] Replace LegalOperations check in visitSIGN_EXTEND with LegalTypes.

This is guarding a check for isTypeLegal so it should check is
LegalTypes.

Fixes PR61111.

Reviewed By: RKSimon

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




More information about the All-commits mailing list