diff options
author | Evan Cheng <evan.cheng@apple.com> | 2005-12-09 06:06:08 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2005-12-09 06:06:08 +0000 |
commit | cbc09c8eaa1813eb4ad424c9215809322c6b5dd7 (patch) | |
tree | b1f6a54354fdb656152190955c8f3186533f4a82 /utils/TableGen/DAGISelEmitter.h | |
parent | c45146ace5368066e70ada7a35cc4ab851c955e7 (diff) | |
download | external_llvm-cbc09c8eaa1813eb4ad424c9215809322c6b5dd7.zip external_llvm-cbc09c8eaa1813eb4ad424c9215809322c6b5dd7.tar.gz external_llvm-cbc09c8eaa1813eb4ad424c9215809322c6b5dd7.tar.bz2 |
Prevent folding of instructions which produce chains that have more than 1 real use
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24643 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.h')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelEmitter.h b/utils/TableGen/DAGISelEmitter.h index 0a2ab89..84985b4 100644 --- a/utils/TableGen/DAGISelEmitter.h +++ b/utils/TableGen/DAGISelEmitter.h @@ -425,7 +425,7 @@ private: std::map<std::string,std::string> &VarMap, unsigned PatternNo, std::ostream &OS, std::string &ChainName, - bool &HasChain, bool &InFlag); + bool &HasChain, bool &InFlag, bool isRoot = false); void EmitCopyToRegsForPattern(TreePatternNode *N, const std::string &RootName, std::ostream &OS, bool HasChain); std::pair<unsigned, unsigned> |