diff options
author | Jim Grosbach <grosbach@apple.com> | 2009-12-11 01:42:04 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2009-12-11 01:42:04 +0000 |
commit | 5278eb802fae2ee1a7b2a428596bc364d8bcd9db (patch) | |
tree | 782b9f881bc636500bc2e60d90a58230ae8d75b0 /lib/Target/ARM/ARMISelLowering.h | |
parent | da920fa4f985ce5d7b56652587d3451ca483e3d6 (diff) |
Rough first pass at compare_and_swap atomic builtins for ARM mode. Work in progress.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.h')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.h b/lib/Target/ARM/ARMISelLowering.h index c9cbbc69fd..64e0e0de3d 100644 --- a/lib/Target/ARM/ARMISelLowering.h +++ b/lib/Target/ARM/ARMISelLowering.h @@ -331,6 +331,10 @@ namespace llvm { SDValue getARMCmp(SDValue LHS, SDValue RHS, ISD::CondCode CC, SDValue &ARMCC, SelectionDAG &DAG, DebugLoc dl); + + MachineBasicBlock *EmitAtomicCmpSwap(unsigned Size, MachineInstr *MI, + MachineBasicBlock *BB) const; + }; } |