[all-commits] [llvm/llvm-project] a84118: [PowerPC] Enforce side effects to FPSCR read/set i...

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Wed Nov 3 20:46:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a84118756c73cbd736019f311d5d459b1e94c894
      https://github.com/llvm/llvm-project/commit/a84118756c73cbd736019f311d5d459b1e94c894
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/test/CodeGen/PowerPC/read-set-flm.ll

  Log Message:
  -----------
  [PowerPC] Enforce side effects to FPSCR read/set intrinsics

Currently, FPSCR is not modeled, so in some early passes (such as
early-cse), the read/set intrinsics to FPSCR may get incorrect
simplification.

Reviewed By: jsji

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




More information about the All-commits mailing list