[all-commits] [llvm/llvm-project] c98644: [X86] Fix a codegen crash in getSetCCResultType

Pengfei Wang via All-commits all-commits at lists.llvm.org
Fri Feb 19 01:30:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c98644c2ece2f00da5e4510d6fbd07ef89263220
      https://github.com/llvm/llvm-project/commit/c98644c2ece2f00da5e4510d6fbd07ef89263220
  Author: Wang, Pengfei <pengfei.wang at intel.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/vec3-setcc-crash.ll

  Log Message:
  -----------
  [X86] Fix a codegen crash in getSetCCResultType

This patch fixes some crashes coming from
X86ISelLowering::getSetCCResultType, which would occasionally return
an EVT constructed from an invalid MVT, which has a null Type pointer.

This patch refers to D95434.

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




More information about the All-commits mailing list