mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-02 09:49:09 +00:00
If isKnownWindowsMSVCEnvironment then getOS == Triple::Win32 and
Environment == Triple::MSVC so it will never be MinGW or Cygwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e30aa957e3
commit
f2dc47ce99
@ -623,8 +623,7 @@ void X86AsmPrinter::EmitEndOfAsmFile(Module &M) {
|
||||
OutStreamer.EmitAssemblerFlag(MCAF_SubsectionsViaSymbols);
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetKnownWindowsMSVC() && !Subtarget->isTargetCygMing() &&
|
||||
MMI->usesVAFloatArgument()) {
|
||||
if (Subtarget->isTargetKnownWindowsMSVC() && MMI->usesVAFloatArgument()) {
|
||||
StringRef SymbolName = Subtarget->is64Bit() ? "_fltused" : "__fltused";
|
||||
MCSymbol *S = MMI->getContext().GetOrCreateSymbol(SymbolName);
|
||||
OutStreamer.EmitSymbolAttribute(S, MCSA_Global);
|
||||
|
@ -250,7 +250,7 @@ void X86TargetLowering::resetOperationActions() {
|
||||
addBypassSlowDiv(64, 16);
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetKnownWindowsMSVC() && !Subtarget->isTargetCygMing()) {
|
||||
if (Subtarget->isTargetKnownWindowsMSVC()) {
|
||||
// Setup Windows compiler runtime calls.
|
||||
setLibcallName(RTLIB::SDIV_I64, "_alldiv");
|
||||
setLibcallName(RTLIB::UDIV_I64, "_aulldiv");
|
||||
|
Loading…
Reference in New Issue
Block a user