diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-02-24 08:30:20 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-02-24 08:30:20 +0000 |
commit | 57f0db833dc30404f1f5d28b23df326e520698ec (patch) | |
tree | 543149bc13d79de8e79f707ddbf23da88f704425 /lib/Target/Alpha/Alpha.h | |
parent | 3d8bde8dfb2177dabbc6225a451889305d3756dd (diff) | |
download | external_llvm-57f0db833dc30404f1f5d28b23df326e520698ec.zip external_llvm-57f0db833dc30404f1f5d28b23df326e520698ec.tar.gz external_llvm-57f0db833dc30404f1f5d28b23df326e520698ec.tar.bz2 |
Overhaul my earlier submission due to feedback. It's a large patch, but most of
them are generic changes.
- Use the "fast" flag that's already being passed into the asm printers instead
of shoving it into the DwarfWriter.
- Instead of calling "MI->getParent()->getParent()" for every MI, set the
machine function when calling "runOnMachineFunction" in the asm printers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/Alpha.h')
-rw-r--r-- | lib/Target/Alpha/Alpha.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Alpha/Alpha.h b/lib/Target/Alpha/Alpha.h index 9af46d0..e885c80 100644 --- a/lib/Target/Alpha/Alpha.h +++ b/lib/Target/Alpha/Alpha.h @@ -25,7 +25,8 @@ namespace llvm { FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM); FunctionPass *createAlphaCodePrinterPass(raw_ostream &OS, - TargetMachine &TM); + TargetMachine &TM, + bool Fast); FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM); FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM, MachineCodeEmitter &MCE); |