diff options
author | Michael Liao <michael.liao@intel.com> | 2012-09-19 19:36:58 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2012-09-19 19:36:58 +0000 |
commit | 8372539543a5004e31756cdf6baccb668895f3cf (patch) | |
tree | 94dfc6b6582cf5e851691f34cf0d5f502fa7a39f /llvm/lib/Support/Memory.cpp | |
parent | a15e1b4f631692340fc60c0590fddb9af950cdc3 (diff) | |
download | llvm-8372539543a5004e31756cdf6baccb668895f3cf.zip llvm-8372539543a5004e31756cdf6baccb668895f3cf.tar.gz llvm-8372539543a5004e31756cdf6baccb668895f3cf.tar.bz2 |
Unify the logic in SelectAtomicLoadAdd and SelectAtomicLoadArith
- Merge the processing of LOAD_ADD with other atomic load-arith
operations
- Separate the logic getting target constant for atomic-load-op and add
an optimization for atomic-load-add on i16 with negative value
- Optimize a minor case for atomic-fetch-add i16 with negative operand. Test
case is revised.
llvm-svn: 164243
Diffstat (limited to 'llvm/lib/Support/Memory.cpp')
0 files changed, 0 insertions, 0 deletions