[PATCH] D28818: [PPC] Some generic cleanup of mayLoad/mayStore flags and memory operands
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 11:20:40 PST 2017
sfertile created this revision.
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.
1. Explicitly sets mayLoad/mayStore property in the tablegen files on load/store instructions.
2. Updated the flags on a number of intrinsics indicating that they write memory.
3. Added SDNPMemOperand flags for some target dependent SDNodes so that they propagate their memory operand,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13436 bytes
Desc: not available
More information about the llvm-commits