mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Small fix for assembler generation on Darwin PPC64. Patch by Michael Kostylev. PR11437.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a2242cea0
commit
32e698cc10
@ -441,7 +441,7 @@ void PPCDarwinAsmPrinter::EmitStartOfAsmFile(Module &M) {
|
|||||||
Directive = PPC::DIR_970;
|
Directive = PPC::DIR_970;
|
||||||
if (Subtarget.hasAltivec() && Directive < PPC::DIR_7400)
|
if (Subtarget.hasAltivec() && Directive < PPC::DIR_7400)
|
||||||
Directive = PPC::DIR_7400;
|
Directive = PPC::DIR_7400;
|
||||||
if (Subtarget.isPPC64() && Directive < PPC::DIR_970)
|
if (Subtarget.isPPC64() && Directive < PPC::DIR_64)
|
||||||
Directive = PPC::DIR_64;
|
Directive = PPC::DIR_64;
|
||||||
assert(Directive <= PPC::DIR_64 && "Directive out of range.");
|
assert(Directive <= PPC::DIR_64 && "Directive out of range.");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user