diff options
| author | Andrew Lenharth <alenhar2@cs.uiuc.edu> | 2008-02-16 14:46:26 +0000 |
|---|---|---|
| committer | Andrew Lenharth <alenhar2@cs.uiuc.edu> | 2008-02-16 14:46:26 +0000 |
| commit | 0531ec5fcd743940a1e3074e94d764cfdbc8c135 (patch) | |
| tree | 547eb8e3f145c096925ad6dccddf43d652172343 /lib/Target/CellSPU | |
| parent | 4932e5861eea26356643819e6f27e66895c3ca1e (diff) | |
| download | external_llvm-0531ec5fcd743940a1e3074e94d764cfdbc8c135.zip external_llvm-0531ec5fcd743940a1e3074e94d764cfdbc8c135.tar.gz external_llvm-0531ec5fcd743940a1e3074e94d764cfdbc8c135.tar.bz2 | |
I cannot find a libgcc function for this builtin. Therefor expanding it to a noop (which is how it use to be treated). If someone who knows the x86 backend better than me could tell me how to get a lock prefix on an instruction, that would be nice to complete x86 support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
| -rw-r--r-- | lib/Target/CellSPU/SPUISelLowering.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/CellSPU/SPUISelLowering.cpp b/lib/Target/CellSPU/SPUISelLowering.cpp index bfdb9e8..23c860a 100644 --- a/lib/Target/CellSPU/SPUISelLowering.cpp +++ b/lib/Target/CellSPU/SPUISelLowering.cpp @@ -181,7 +181,8 @@ SPUTargetLowering::SPUTargetLowering(SPUTargetMachine &TM) setOperationAction(ISD::MEMMOVE, MVT::Other, Expand); setOperationAction(ISD::MEMSET, MVT::Other, Expand); setOperationAction(ISD::MEMCPY, MVT::Other, Expand); - + setOperationAction(ISD::MEMBARRIER, MVT::Other, Expand); + // PowerPC has no SREM/UREM instructions setOperationAction(ISD::SREM, MVT::i32, Expand); setOperationAction(ISD::UREM, MVT::i32, Expand); |
