[llvm-commits] [llvm] r145553 - /llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp
Eli Friedman
eli.friedman at gmail.com
Wed Nov 30 17:43:47 PST 2011
Author: efriedma
Date: Wed Nov 30 19:43:47 2011
New Revision: 145553
URL: http://llvm.org/viewvc/llvm-project?rev=145553&view=rev
Log:
Small fix for assembler generation on Darwin PPC64. Patch by Michael Kostylev. PR11437.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp?rev=145553&r1=145552&r2=145553&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp Wed Nov 30 19:43:47 2011
@@ -441,7 +441,7 @@
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.");
More information about the llvm-commits
mailing list