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 | 68d59e8a90afdf02b7bad25558286db51def8548 (patch) | |
| tree | cb2a5d47968332923d4802bcbe998580ba025eb5 /llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp | |
| parent | 2b743c3f8a0ca7c567fa1026a1873ffd3c346f8d (diff) | |
| download | bcm5719-llvm-68d59e8a90afdf02b7bad25558286db51def8548.tar.gz bcm5719-llvm-68d59e8a90afdf02b7bad25558286db51def8548.zip | |
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.
llvm-svn: 153635
Diffstat (limited to 'llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp')
0 files changed, 0 insertions, 0 deletions

