[PATCH] D112380: [PowerPC] Enforce side effects to FPSCR read/set instructions

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 24 09:36:33 PDT 2021


qiucf created this revision.
qiucf added reviewers: nemanjai, jsji, shchenz, PowerPC.
Herald added subscribers: kbarton, hiraditya.
qiucf requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112380

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112380.381786.patch
Type: text/x-patch
Size: 5074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211024/da594161/attachment.bin>


More information about the llvm-commits mailing list