mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
Small fix for assembler generation on Darwin PPC64. Patch by Michael Kostylev. PR11437.
llvm-svn: 145553
This commit is contained in:
parent
5c613a4c40
commit
85c0054183
@ -441,7 +441,7 @@ void PPCDarwinAsmPrinter::EmitStartOfAsmFile(Module &M) {
|
||||
Directive = PPC::DIR_970;
|
||||
if (Subtarget.hasAltivec() && 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;
|
||||
assert(Directive <= PPC::DIR_64 && "Directive out of range.");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user