summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcSubtarget.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-05-18 16:42:10 +0000
committerHal Finkel <hfinkel@anl.gov>2015-05-18 16:42:10 +0000
commit44b81ee40bc037be792fdd899ece966eef26e2c8 (patch)
treee4704a62996f0ae68dc19ce4e3f855bea48a2b57 /llvm/lib/Target/Sparc/SparcSubtarget.h
parent6cb23465e0ccd195efdc4843f753a4d1eb815f5b (diff)
downloadbcm5719-llvm-44b81ee40bc037be792fdd899ece966eef26e2c8.tar.gz
bcm5719-llvm-44b81ee40bc037be792fdd899ece966eef26e2c8.zip
Preserve the order of READ_REGISTER and WRITE_REGISTER
At the present time, we don't have a way to represent general dependency relationships, so everything is represented using memory dependency. In order to preserve the data dependency of a READ_REGISTER on WRITE_REGISTER, we need to model WRITE_REGISTER as writing (which we had been doing) and model READ_REGISTER as reading (which we had not been doing). Fix this, and also the way that the chain operands were generated at the SDAG level. Patch by Nicholas Paul Johnson, thanks! Test case by me. llvm-svn: 237584
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcSubtarget.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud