[all-commits] [llvm/llvm-project] c35761: [GlobalISel] Bail on G_PHI narrowing of odd types ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Mar 1 14:32:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c35761db0f078f74550ef56bfc0745c162d76967
      https://github.com/llvm/llvm-project/commit/c35761db0f078f74550ef56bfc0745c162d76967
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    A llvm/test/CodeGen/AArch64/pr48188.ll

  Log Message:
  -----------
  [GlobalISel] Bail on G_PHI narrowing of odd types (PR48188)

The current narrowing code for G_PHI can only handle the case
where the size is a multiple of the narrow size. If this is not
the case, fall back to SDAG instead of asserting.

Original patch by shepmaster.

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




More information about the All-commits mailing list