[all-commits] [llvm/llvm-project] ebfbde: [PowerPC] Fix store-fptoi combine of f128 on Power8

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Wed Sep 16 19:21:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ebfbdebe9678f4a42ec35396eb517eefd85d2b4c
      https://github.com/llvm/llvm-project/commit/ebfbdebe9678f4a42ec35396eb517eefd85d2b4c
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

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

  Log Message:
  -----------
  [PowerPC] Fix store-fptoi combine of f128 on Power8

llc would crash for (store (fptosi-f128-i32)) when -mcpu=pwr8, we should
not generate FP_TO_(S|U)INT_IN_VSR for f128 types at this time. This
patch fixes it.

Reviewed By: steven.zhang

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




More information about the All-commits mailing list