[llvm] [X86] Resolve FIXME: Add FPCW as a rounding control register (PR #82452)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 3 18:39:40 PST 2024
================
@@ -3443,6 +3443,8 @@ static bool isX87Reg(unsigned Reg) {
/// check if the instruction is X87 instruction
bool X86::isX87Instruction(MachineInstr &MI) {
+ if (MI.isCall())
+ return false;
----------------
KanRobert wrote:
If you'd like to insert wait after call instruction, code should be added in X86InsertWait.cp, instead of `X86::isX87Instruction`.
https://github.com/llvm/llvm-project/pull/82452
More information about the llvm-commits
mailing list