OSDN Git Service

[X86] Remove isReMaterializable from X87 floating point constant loads and constant...
authorCraig Topper <craig.topper@intel.com>
Fri, 8 Feb 2019 17:07:54 +0000 (17:07 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 8 Feb 2019 17:07:54 +0000 (17:07 +0000)
commit88d276dbda3058a0d2f89ad4db75324da01f9634
tree3fad5940c624b6dcd19467837de9a39e32750af7
parent02fc2083cc5f6dcdf8172cb396cdd6eb7b330586
[X86] Remove isReMaterializable from X87 floating point constant loads and constant pool loads.

Summary: These instructions update FPSW so they aren't generically safe to rematerialize into any location if FPSW is live for a comparison result. They also use FPCW for exception masking control. Though the only exception they can generate is stack overflow and we manage the stack ourselves so that's not really going to occur.

Reviewers: RKSimon, spatel

Reviewed By: RKSimon

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D57934

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353536 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrFPStack.td
lib/Target/X86/X86InstrInfo.cpp