[all-commits] [llvm/llvm-project] 64b31d: [PowerPC] Do not attempt to reuse load for 64-bit ...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Mon Apr 20 11:00:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 64b31d96dfd6c05e6d52d8798726dec60502cfde
      https://github.com/llvm/llvm-project/commit/64b31d96dfd6c05e6d52d8798726dec60502cfde
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-04-20 (Mon, 20 Apr 2020)

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

  Log Message:
  -----------
  [PowerPC] Do not attempt to reuse load for 64-bit FP_TO_UINT without FPCVT

We call the function that attempts to reuse the conversion without checking
whether the target matches the constraints that the callee expects. This patch
adds the check prior to the call.

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

Differential revision: https://reviews.llvm.org/D77564




More information about the All-commits mailing list