one more assertion!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75083 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
index 3ae88ea..6890f11 100644
--- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
+++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
@@ -360,8 +360,10 @@
       if (shouldPrintPLT(TM, Subtarget)) {
         // Assemble call via PLT for externally visible symbols
         if (!GV->hasHiddenVisibility() && !GV->hasProtectedVisibility() &&
-            !GV->hasLocalLinkage())
+            !GV->hasLocalLinkage()) {
           O << "@PLT";
+          assert(MO.getTargetFlags() == 0);
+        }
       }
       if (Subtarget->isTargetCygMing() && GV->isDeclaration())
         // Save function name for later type emission