[all-commits] [llvm/llvm-project] 277140: [PowerPC] Do not legalize vector FDIV without VSX

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Wed Sep 2 14:04:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 27714075848e7f05a297317ad28ad2570d8e5a43
      https://github.com/llvm/llvm-project/commit/27714075848e7f05a297317ad28ad2570d8e5a43
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

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

  Log Message:
  -----------
  [PowerPC] Do not legalize vector FDIV without VSX

Quite a while ago, we legalized these nodes as we added custom
handling for reciprocal estimates in the back end. We have since
moved to target-independent combines but neglected to turn off
legalization. As a result, we can now get selection failures on
non-VSX subtargets as evidenced in the listed PR.

Fixes: https://bugs.llvm.org/show_bug.cgi?id=47373




More information about the All-commits mailing list