[all-commits] [llvm/llvm-project] 7e9153: PowerPC: Don't lower SELECT_CC to PPCISD::FSEL on SPE

Justin Hibbits via All-commits all-commits at lists.llvm.org
Fri Jul 31 21:04:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e9153e940e21a937ff3a0e7425eb1b24bd1bb76
      https://github.com/llvm/llvm-project/commit/7e9153e940e21a937ff3a0e7425eb1b24bd1bb76
  Author: Justin Hibbits <jrh29 at alumni.cwru.edu>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    A llvm/test/CodeGen/PowerPC/spe-fastmath.ll

  Log Message:
  -----------
  PowerPC: Don't lower SELECT_CC to PPCISD::FSEL on SPE

SPE doesn't have a fsel instruction, so don't try to lower to it.

This fixes a "Cannot select: tN: f64 = PPCISD::FSEL tX, tY, tZ" error.

Reviewed By: #powerpc, lkail
Differential Revision: https://reviews.llvm.org/D77773




More information about the All-commits mailing list