[all-commits] [llvm/llvm-project] efdd46: [PowerPC] Fix chain for i1-to-fp operation

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Sun Dec 6 18:47:45 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efdd4630507edfe13851475de5d16cc248aacd15
      https://github.com/llvm/llvm-project/commit/efdd4630507edfe13851475de5d16cc248aacd15
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    A llvm/test/CodeGen/PowerPC/i1-to-fp-chain.ll

  Log Message:
  -----------
  [PowerPC] Fix chain for i1-to-fp operation

A simple SELECT is used for converting i1 to floating types on ppc32,
but in constrained cases, the chain is not handled properly. This patch
will fix that.

Reviewed By: steven.zhang

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




More information about the All-commits mailing list