diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-11 19:57:01 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-11 19:57:01 +0000 |
commit | bfd3d08d1879595635b1965112a087d21c05b6d0 (patch) | |
tree | 9f6e8a850923b73cc5423144d21a4acb7c81355a /llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | |
parent | 25d4c568d3d296783e80cdc9bb1708f562f92ccf (diff) | |
download | bcm5719-llvm-bfd3d08d1879595635b1965112a087d21c05b6d0.tar.gz bcm5719-llvm-bfd3d08d1879595635b1965112a087d21c05b6d0.zip |
Rename the PPC target feature gpul to mfocrf.
The PPC target feature gpul (IsGigaProcessor) was only used for one thing:
To enable the generation of the MFOCRF instruction. Furthermore, this
instruction is available on other PPC cores outside of the G5 line. This
feature now corresponds to the HasMFOCRF flag.
No functionality change.
llvm-svn: 158323
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp index 989b5d71e43..fb906002111 100644 --- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -457,7 +457,7 @@ void PPCDarwinAsmPrinter::EmitStartOfAsmFile(Module &M) { }; unsigned Directive = Subtarget.getDarwinDirective(); - if (Subtarget.isGigaProcessor() && Directive < PPC::DIR_970) + if (Subtarget.hasMFOCRF() && Directive < PPC::DIR_970) Directive = PPC::DIR_970; if (Subtarget.hasAltivec() && Directive < PPC::DIR_7400) Directive = PPC::DIR_7400; |