Hide STG register declarations for LLVM C compilers
Hide STG register declarations for LLVM C compilers

This commit swaps the import order of Rts.h and Stg.h in
StgCRun.c for non-SPARC architectures. Swapping the import
order prevents the declaration of the global registers thus
allowing the GHC runtime to be compiled by LLVM-based C
compilers.

LLVM-base C compilers cannot use the global register
declarations (for R1, R2, etc.) because they use
GCC-specific extensions. The declarations are not needed in
StgCRun.c except for the SPARC architecture. The other
architectures use hand-written assembly that accesses the
appropriate register directly.

TomMD/ghc,wxwxwwxxx/ghc,mcschroeder/ghc,vikraman/ghc,tibbe/ghc,olsner/ghc,forked-upstream-packages-for-ghcjs/ghc,mfine/ghc,nathyong/microghc-ghc,siddhanathan/ghc,da-x/ghc,wxwxwwxxx/ghc,vTurbine/ghc,gcampax/ghc,bitemyapp/ghc,da-x/ghc,AlexanderPankiv/ghc,elieux/ghc,fmthoma/ghc,hferreiro/replay,ryantm/ghc,anton-dessiatov/ghc,snoyberg/ghc,frantisekfarka/ghc-dsi,vTurbine/ghc,nkaretnikov/ghc,sgillespie/ghc,shlevy/ghc,gcampax/ghc,oldmanmike/ghc,green-haskell/ghc,ryantm/ghc,olsner/ghc,nathyong/microghc-ghc,bitemyapp/ghc,sdiehl/ghc,oldmanmike/ghc,vTurbine/ghc,ml9951/ghc,tjakway/ghcjvm,gridaphobe/ghc,gridaphobe/ghc,nushio3/ghc,mcschroeder/ghc,GaloisInc/halvm-ghc,ml9951/ghc,forked-upstream-packages-for-ghcjs/ghc,frantisekfarka/ghc-dsi,frantisekfarka/ghc-dsi,vTurbine/ghc,siddhanathan/ghc,snoyberg/ghc,ghc-android/ghc,urbanslug/ghc,ryantm/ghc,ryantm/ghc,olsner/ghc,nushio3/ghc,urbanslug/ghc,lukexi/ghc,nushio3/ghc,sdiehl/ghc,hferreiro/replay,oldmanmike/ghc,ezyang/ghc,forked-upstream-packages-for-ghcjs/ghc,christiaanb/ghc,shlevy/ghc,wxwxwwxxx/ghc,jstolarek/ghc,gridaphobe/ghc,oldmanmike/ghc,vTurbine/ghc,mettekou/ghc,GaloisInc/halvm-ghc,sdiehl/ghc,elieux/ghc,siddhanathan/ghc,TomMD/ghc,shlevy/ghc,siddhanathan/ghc,tjakway/ghcjvm,snoyberg/ghc,nomeata/ghc,ghc-android/ghc,frantisekfarka/ghc-dsi,GaloisInc/halvm-ghc,olsner/ghc,anton-dessiatov/ghc,TomMD/ghc,mfine/ghc,nathyong/microghc-ghc,mettekou/ghc,lukexi/ghc-7.8-arm64,ekmett/ghc,vTurbine/ghc,nkaretnikov/ghc,christiaanb/ghc,hferreiro/replay,nkaretnikov/ghc,anton-dessiatov/ghc,forked-upstream-packages-for-ghcjs/ghc,siddhanathan/ghc,ml9951/ghc,olsner/ghc,nushio3/ghc,ghc-android/ghc,forked-upstream-packages-for-ghcjs/ghc,acowley/ghc,christiaanb/ghc,hferreiro/replay,vikraman/ghc,sdiehl/ghc,gridaphobe/ghc,shlevy/ghc,nathyong/microghc-ghc,gcampax/ghc,spacekitteh/smcghc,elieux/ghc,green-haskell/ghc,snoyberg/ghc,mfine/ghc,nkaretnikov/ghc,mcmaniac/ghc,christiaanb/ghc,da-x/ghc,anton-dessiatov/ghc,ezyang/ghc,elieux/ghc,fmthoma/ghc,elieux/ghc,sgillespie/ghc,fmthoma/ghc,mcmaniac/ghc,spacekitteh/smcghc,TomMD/ghc,da-x/ghc,christiaanb/ghc,AlexanderPankiv/ghc,urbanslug/ghc,mfine/ghc,mcschroeder/ghc,bitemyapp/ghc,fmthoma/ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,forked-upstream-packages-for-ghcjs/ghc,ezyang/ghc,oldmanmike/ghc,snoyberg/ghc,spacekitteh/smcghc,wxwxwwxxx/ghc,shlevy/ghc,tjakway/ghcjvm,elieux/ghc,nkaretnikov/ghc,mettekou/ghc,nomeata/ghc,ezyang/ghc,lukexi/ghc,ryantm/ghc,jstolarek/ghc,holzensp/ghc,ezyang/ghc,tjakway/ghcjvm,acowley/ghc,lukexi/ghc-7.8-arm64,mettekou/ghc,gridaphobe/ghc,mcschroeder/ghc,christiaanb/ghc,da-x/ghc,ghc-android/ghc,ml9951/ghc,tibbe/ghc,sgillespie/ghc,elieux/ghc,anton-dessiatov/ghc,holzensp/ghc,nkaretnikov/ghc,gcampax/ghc,ghc-android/ghc,sdiehl/ghc,sgillespie/ghc,mettekou/ghc,nathyong/microghc-ghc,jstolarek/ghc,gcampax/ghc,jstolarek/ghc,GaloisInc/halvm-ghc,AlexanderPankiv/ghc,lukexi/ghc,ekmett/ghc,urbanslug/ghc,tibbe/ghc,gcampax/ghc,gridaphobe/ghc,TomMD/ghc,vikraman/ghc,ghc-android/ghc,sdiehl/ghc,lukexi/ghc,holzensp/ghc,anton-dessiatov/ghc,AlexanderPankiv/ghc,ml9951/ghc,vikraman/ghc,tjakway/ghcjvm,mcschroeder/ghc,siddhanathan/ghc,GaloisInc/halvm-ghc,shlevy/ghc,acowley/ghc,sdiehl/ghc,urbanslug/ghc,mfine/ghc,nushio3/ghc,mfine/ghc,fmthoma/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,tibbe/ghc,frantisekfarka/ghc-dsi,TomMD/ghc,christiaanb/ghc,TomMD/ghc,nkaretnikov/ghc,siddhanathan/ghc,acowley/ghc,nomeata/ghc,ezyang/ghc,mcschroeder/ghc,mcmaniac/ghc,gridaphobe/ghc,bitemyapp/ghc,shlevy/ghc,ml9951/ghc,nathyong/microghc-ghc,ghc-android/ghc,lukexi/ghc,ekmett/ghc,da-x/ghc,ml9951/ghc,snoyberg/ghc,hferreiro/replay,tibbe/ghc,tjakway/ghcjvm,green-haskell/ghc,oldmanmike/ghc,acowley/ghc,vikraman/ghc,sgillespie/ghc,jstolarek/ghc,green-haskell/ghc,fmthoma/ghc,vikraman/ghc,ml9951/ghc,mettekou/ghc,nomeata/ghc,ekmett/ghc,hferreiro/replay,green-haskell/ghc,anton-dessiatov/ghc,gcampax/ghc,nomeata/ghc,acowley/ghc,spacekitteh/smcghc,hferreiro/replay,nushio3/ghc,mettekou/ghc,wxwxwwxxx/ghc,nushio3/ghc,lukexi/ghc-7.8-arm64,forked-upstream-packages-for-ghcjs/ghc,urbanslug/ghc,ezyang/ghc,bitemyapp/ghc,AlexanderPankiv/ghc,fmthoma/ghc,mcmaniac/ghc,ekmett/ghc,lukexi/ghc-7.8-arm64,holzensp/ghc,snoyberg/ghc,holzensp/ghc,vTurbine/ghc,da-x/ghc,sgillespie/ghc,wxwxwwxxx/ghc,AlexanderPankiv/ghc,tjakway/ghcjvm,mcschroeder/ghc,AlexanderPankiv/ghc,vikraman/ghc,mcmaniac/ghc,nathyong/microghc-ghc,oldmanmike/ghc,acowley/ghc,mfine/ghc,urbanslug/ghc,lukexi/ghc-7.8-arm64,olsner/ghc,olsner/ghc,spacekitteh/smcghc