aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Memory.cpp
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2012-09-19 19:36:58 +0000
committerMichael Liao <michael.liao@intel.com>2012-09-19 19:36:58 +0000
commit8372539543a5004e31756cdf6baccb668895f3cf (patch)
tree94dfc6b6582cf5e851691f34cf0d5f502fa7a39f /llvm/lib/Support/Memory.cpp
parenta15e1b4f631692340fc60c0590fddb9af950cdc3 (diff)
downloadllvm-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