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

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Tue May 19 08:31:33 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3de89abf189e63da4edbfda509ed3d421bdba1a9
      https://github.com/llvm/llvm-project/commit/3de89abf189e63da4edbfda509ed3d421bdba1a9
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-05-19 (Tue, 19 May 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

(cherry picked from commit 64b31d96dfd6c05e6d52d8798726dec60502cfde)




More information about the All-commits mailing list