diff options
author | Matthias Braun <matze@braunis.de> | 2017-05-31 01:21:35 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-05-31 01:21:35 +0000 |
commit | 05eeadbfd18b5e858c559f18b7780e9e901bbf1c (patch) | |
tree | c73fc184eeb093bfca33ed08bc71f522383de3e7 /llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp | |
parent | 0dba4e3509373e1f6b922e99daa252047b3dfc07 (diff) | |
download | llvm-05eeadbfd18b5e858c559f18b7780e9e901bbf1c.zip llvm-05eeadbfd18b5e858c559f18b7780e9e901bbf1c.tar.gz llvm-05eeadbfd18b5e858c559f18b7780e9e901bbf1c.tar.bz2 |
ARM: Fix cmpxchg O0 expansion
This is the equivalent of r304048 for ARM:
- Rewrite livein calculation to use the computeLiveIns() helper
function. This is slightly less efficient but easier to reason about
and doesn't unnecessarily add pristine and reserved registers[1]
- Zero the status register at the beginning of the loop to make sure it
has a defined value.
- Remove kill flags of values that need to stay alive throughout the loop.
[1] An upcoming commit of mine will tighten the MachineVerifier to catch
these.
llvm-svn: 304267
Diffstat (limited to 'llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp')
0 files changed, 0 insertions, 0 deletions