[SystemZ] Add hasSideEffects flag on Serialize instruction.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 7 Jan 2016 07:20:55 +0000 (07:20 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 7 Jan 2016 07:20:55 +0000 (07:20 +0000)
commit8c8ee7cee1b6ed6253ca27666a95a666cd4eea53
tree54e0c6925b8ae7c1901fbf3220944cc7a088e238
parent8159bdef561ca630d8b022dc120e2009bbfcf2cf
[SystemZ] Add hasSideEffects flag on Serialize instruction.

Serialize will perform a hardware serialization operation, and is
acting as a memory barrier. Therefore it must have the hasSideEffects
flag set so it will be treated as a global memory object.

Reviewed by Ulrich Weigand

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257036 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZInstrInfo.td