Expand 64-bit atomic load and store.

llvm-svn: 147019
This commit is contained in:
Akira Hatanaka 2011-12-21 00:02:58 +00:00
parent bd95275f7a
commit 91c052c4d8
1 changed files with 2 additions and 0 deletions

View File

@ -206,7 +206,9 @@ MipsTargetLowering(MipsTargetMachine &TM)
setOperationAction(ISD::ATOMIC_FENCE, MVT::Other, Custom);
setOperationAction(ISD::ATOMIC_LOAD, MVT::i32, Expand);
setOperationAction(ISD::ATOMIC_LOAD, MVT::i64, Expand);
setOperationAction(ISD::ATOMIC_STORE, MVT::i32, Expand);
setOperationAction(ISD::ATOMIC_STORE, MVT::i64, Expand);
setInsertFencesForAtomic(true);