[all-commits] [llvm/llvm-project] 7497b8: [GlobalISel][IRTranslator] Support PHI instruction...

Konstantin Schwarz via All-commits all-commits at lists.llvm.org
Thu Aug 20 01:50:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7497b861f49629e84be1215b8d2da18898b1097c
      https://github.com/llvm/llvm-project/commit/7497b861f49629e84be1215b8d2da18898b1097c
  Author: Konstantin Schwarz <konstantin.schwarz at hightec-rt.com>
  Date:   2020-08-20 (Thu, 20 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll

  Log Message:
  -----------
  [GlobalISel][IRTranslator] Support PHI instructions in landingpad blocks

The check for the landingpad instructions was overly restrictive. In optimimized builds PHI nodes can appear
before the landingpad instructions, resulting in a fallback to SelectionDAG.

This change relaxes the check to allow PHI nodes.

Reviewed By: arsenm

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




More information about the All-commits mailing list