diff options
author | Joel Jones <joel_k_jones@apple.com> | 2012-03-29 05:45:48 +0000 |
---|---|---|
committer | Joel Jones <joel_k_jones@apple.com> | 2012-03-29 05:45:48 +0000 |
commit | 76d03106df93665503f5fe75e2974f2d08c447e4 (patch) | |
tree | d1a86f40f3728625a14e187b1944342dfeb3c843 /lib/Analysis/DIBuilder.cpp | |
parent | 3c6b29b7e96f4fd0c9f5aae521d52cbf2b4493c2 (diff) |
For X86, change load/dec-or-inc/store into dec-or-inc, respectively.
This is a code change to add support for changing instruction sequences of the form:
load
inc/dec of 8/16/32/64 bits
store
into the appropriate X86 inc/dec through memory instruction:
inc[qlwb] / dec[qlwb]
The checks that were in X86DAGToDAGISel::Select(SDNode *Node)>>ISD::STORE have been extracted to isLoadIncOrDecStore and reworked to use the better
named wrappers for getOperand(unsigned) (e.g. getOffset()) and replaced Chain.getNode() with LoadNode. The comments have also been expanded.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DIBuilder.cpp')
0 files changed, 0 insertions, 0 deletions