Change the 'isStore' inferrer to look for 'SDNPMayStore'
authorChris Lattner <sabre@nondot.org>
Sun, 6 Jan 2008 06:44:58 +0000 (06:44 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 6 Jan 2008 06:44:58 +0000 (06:44 +0000)
commitc8478d8b12c2d7e4cea32d0c9940f5cac2baa4dd
tree26d074393ffc74b2550a4064726346825bb9878d
parent13c6310866bc3ebfc8255a17d8ff2afb233f01cc
Change the 'isStore' inferrer to look for 'SDNPMayStore'
instead of "ISD::STORE".  This allows us to mark target-specific dag
nodes as storing (such as ppc byteswap stores).  This allows us to remove
more explicit isStore flags from the .td files.

Finally, add a warning for when a .td file contains an explicit
isStore and tblgen is able to infer it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45654 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Alpha/AlphaInstrFormats.td
lib/Target/Alpha/AlphaInstrInfo.td
lib/Target/CellSPU/SPUInstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
lib/Target/PowerPC/PPCInstr64Bit.td
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/TargetSelectionDAG.td
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenTarget.h
utils/TableGen/InstrInfoEmitter.cpp