[PATCH] D113335: [X86] Preserve FPSW when popping x87 stack
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 7 06:32:44 PST 2021
sepavloff marked 4 inline comments as done.
sepavloff added inline comments.
================
Comment at: llvm/lib/Target/X86/X86FloatingPoint.cpp:847
+ const MachineOperand &MO = MI.getOperand(i);
+ if (MO.isReg() && MO.getReg() == X86::FPSW && MO.isUse())
+ return true;
----------------
craig.topper wrote:
> Can this use MachineInstr::readsRegister
Used `MachineInstr::readsRegister` directly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113335/new/
https://reviews.llvm.org/D113335
More information about the llvm-commits
mailing list