[PATCH] D84729: [PowerPC] Set hasSideEffects for MFFS and MTFSF

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 19:40:08 PDT 2020


qiucf created this revision.
qiucf added reviewers: PowerPC, jsji, hfinkel, nemanjai, steven.zhang, ZhangKang.
Herald added subscribers: llvm-commits, shchenz, kbarton, hiraditya.
Herald added a project: LLVM.
Harbormaster failed remote builds in B65961: Diff 281120!
Herald added a subscriber: wuzish.
Harbormaster returned this revision to the author for changes because remote builds failed.
qiucf removed rG LLVM Github Monorepo as the repository for this revision.
qiucf requested review of this revision.

`MFFS`: Move From FPSCR.

`MTFSF`: Move To FPSCR Fields under control masks.

LLVM currently doesn't model these bits well. Setting `hasSideEffects` prevents may-raise-exception FP instructions scheduled across MFFS/MTFSF.


https://reviews.llvm.org/D84729

Files:
  llvm/lib/Target/PowerPC/PPCInstrInfo.td
  llvm/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84729.281120.patch
Type: text/x-patch
Size: 3593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200729/afc212ae/attachment.bin>


More information about the llvm-commits mailing list