diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-02-19 21:12:54 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-02-19 21:12:54 +0000 |
commit | 19e0a5b3c3a5c2ff620ea06726c218ce6fe2bf23 (patch) | |
tree | bdcc11a7e2b149ee2318a7101f511824d32cb713 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h | |
parent | ca097adca873aee877f2f02fecc3be38b9047d77 (diff) | |
download | bcm5719-llvm-19e0a5b3c3a5c2ff620ea06726c218ce6fe2bf23.tar.gz bcm5719-llvm-19e0a5b3c3a5c2ff620ea06726c218ce6fe2bf23.zip |
Generate these labels when we're in "fast" mode, not simply when we're no in
"optimize-for-size" mode.
llvm-svn: 65064
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h index 487c796321f..8ab3487a958 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.h @@ -354,14 +354,18 @@ public: /// FuncInfo - Information about the function as a whole. /// FunctionLoweringInfo &FuncInfo; + + /// Fast - We are in -fast mode. + /// + bool Fast; /// GFI - Garbage collection metadata for the function. GCFunctionInfo *GFI; SelectionDAGLowering(SelectionDAG &dag, TargetLowering &tli, - FunctionLoweringInfo &funcinfo) + FunctionLoweringInfo &funcinfo, bool fast) : CurDebugLoc(DebugLoc::getUnknownLoc()), - TLI(tli), DAG(dag), FuncInfo(funcinfo) { + TLI(tli), DAG(dag), FuncInfo(funcinfo), Fast(fast) { } void init(GCFunctionInfo *gfi, AliasAnalysis &aa); |