From 91c052c4d814e8ccc27c3925930d1d6f0c2b1d36 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Wed, 21 Dec 2011 00:02:58 +0000 Subject: [PATCH] Expand 64-bit atomic load and store. llvm-svn: 147019 --- llvm/lib/Target/Mips/MipsISelLowering.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp index d0ee632db74f..8af75e0552e0 100644 --- a/llvm/lib/Target/Mips/MipsISelLowering.cpp +++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp @@ -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);