Misc. SSE2 intrinsics: clflush, lfench, mfence
[oota-llvm.git] / lib / Target / Alpha / AlphaAsmPrinter.cpp
index ad42ca3cd1ec14269f42a81a442b9373227b4f8e..6f45fb5497f98df0e6486c857456dff551724278 100644 (file)
@@ -231,6 +231,10 @@ bool AlphaAsmPrinter::doFinalization(Module &M) {
 
   for (Module::const_global_iterator I = M.global_begin(), E = M.global_end(); I != E; ++I)
     if (I->hasInitializer()) {   // External global require no code
+      // Check to see if this is a special global used by LLVM, if so, emit it.
+      if (EmitSpecialLLVMGlobal(I))
+        continue;
+      
       O << "\n\n";
       std::string name = Mang->getValueName(I);
       Constant *C = I->getInitializer();