Zubin pushed to branch wip/9.12.3-backports at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/CmmToLlvm/Base.hs
    ... ... @@ -526,10 +526,10 @@ generateExternDecls = do
    526 526
       modifyEnv $ \env -> env { envAliases = emptyUniqSet }
    
    527 527
       return (concat defss, [])
    
    528 528
     
    
    529
    --- | Is a variable one of the special @$llvm@ globals?
    
    529
    +-- | Is a variable one of the special @\@llvm@ globals?
    
    530 530
     isBuiltinLlvmVar :: LlvmVar -> Bool
    
    531 531
     isBuiltinLlvmVar (LMGlobalVar lbl _ _ _ _ _) =
    
    532
    -    "$llvm" `isPrefixOf` unpackFS lbl
    
    532
    +    "llvm." `isPrefixOf` unpackFS lbl
    
    533 533
     isBuiltinLlvmVar _ = False
    
    534 534
     
    
    535 535
     -- | Here we take a global variable definition, rename it with a