[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:30:14 PST 2021
sepavloff updated this revision to Diff 385339.
sepavloff added a comment.
Update patch
- function `doesInstructionSetFPSW` is implemented using `MachineInstr::findRegisterDefOperand`,
- function `doesInstructionUseFPSW` is removed, `MachineInstr::readsRegister` is used instead,
- function `isX87Instruction` is moved to `X86InstrInfo.cpp`,
- tests are simplified,
- a test for dead definition is added.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113335/new/
https://reviews.llvm.org/D113335
Files:
llvm/lib/Target/X86/X86FloatingPoint.cpp
llvm/lib/Target/X86/X86InsertWait.cpp
llvm/lib/Target/X86/X86InstrFPStack.td
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86InstrInfo.h
llvm/test/CodeGen/X86/x87-stack-pop.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113335.385339.patch
Type: text/x-patch
Size: 8738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211107/c2970f68/attachment.bin>
More information about the llvm-commits
mailing list