Cherry-pick a change from LLVM that marks specific pseudo memory
authorpatrick <patrick@openbsd.org>
Tue, 26 Dec 2017 19:34:27 +0000 (19:34 +0000)
committerpatrick <patrick@openbsd.org>
Tue, 26 Dec 2017 19:34:27 +0000 (19:34 +0000)
commit7b4963c118ee8bd63f6945939530554584b9ab7e
treeb46158903a210eb6b1ca5848ca4c017f16b946e0
parentfe7514694a7d89744a9046b4916c7d5ef98431f6
Cherry-pick a change from LLVM that marks specific pseudo memory
instructions to have side effects so the optimizer does not reorder
them across fnstcw/fldcw sequences.  Fixes a bug seen in sqlite3 on
i386.

ok kettenis@
gnu/llvm/lib/Target/X86/X86InstrFPStack.td