aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
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/CodeGen/TargetLoweringObjectFileImpl.cpp
parent6cb23465e0ccd195efdc4843f753a4d1eb815f5b (diff)
downloadllvm-44b81ee40bc037be792fdd899ece966eef26e2c8.zip
llvm-44b81ee40bc037be792fdd899ece966eef26e2c8.tar.gz
llvm-44b81ee40bc037be792fdd899ece966eef26e2c8.tar.bz2
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/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions