[all-commits] [llvm/llvm-project] 71f1ab: [PowerPC] Remove unnecessary XSRSP instruction

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Thu Apr 2 20:08:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 71f1ab53544c3c379f4d2e6e9dc95c89d8518fe5
      https://github.com/llvm/llvm-project/commit/71f1ab53544c3c379f4d2e6e9dc95c89d8518fe5
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
    M llvm/test/CodeGen/PowerPC/mi-simplify-code.mir

  Log Message:
  -----------
  [PowerPC] Remove unnecessary XSRSP instruction

MI peephole will remove unnecessary FRSP instructions. This patch
removes such unnecessary XSRSP.

Reviewed By: steven.zhang

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




More information about the All-commits mailing list