OSDN Git Service

Add "mayHaveSideEffects" and "neverHasSideEffects" flags to some instructions. I
authorBill Wendling <isanbard@gmail.com>
Mon, 17 Dec 2007 23:07:56 +0000 (23:07 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 17 Dec 2007 23:07:56 +0000 (23:07 +0000)
commit627c00b663f881600b4af1ae135af6ee2cb19c1a
treebdcc9719949b741a19aeeb13027fdfe824c2b8fe
parentf9b83fcf95e8a280d7b117af8858596fe5b10d94
Add "mayHaveSideEffects" and "neverHasSideEffects" flags to some instructions. I
based what flag to set on whether it was already marked as
"isRematerializable". If there was a further check to determine if it's "really"
rematerializable, then I marked it as "mayHaveSideEffects" and created a check
in the X86 back-end similar to the remat one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45132 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrFPStack.td
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrMMX.td
lib/Target/X86/X86InstrSSE.td
lib/Target/X86/X86InstrX86-64.td