Another patch I am working on was querying the mayLoad and mayStore flags on machine SDNodes, as well as accessing the memory-operands of load instructions. I found a number of issues where the flags weren't set correctly, or the MachineSDNode was missing its memory operands. This patch addresses those issues.
- Explicitly sets mayLoad/mayStore property in the tablegen files on load/store instructions.
- Updated the flags on a number of intrinsics indicating that they write memory.
- Added SDNPMemOperand flags for some target dependent SDNodes so that they propagate their memory operand,