diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-04-19 15:11:23 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-04-19 15:11:23 +0000 |
| commit | 7c69a3b49006b64500bc6d588180f6e7435336b3 (patch) | |
| tree | 9a7899cd116922755cb8d54eba7f2105e921c2cb /llvm/lib/Target/Hexagon | |
| parent | 10a837a27e9ee5919e6b822ef416362369de968f (diff) | |
| download | bcm5719-llvm-7c69a3b49006b64500bc6d588180f6e7435336b3.tar.gz bcm5719-llvm-7c69a3b49006b64500bc6d588180f6e7435336b3.zip | |
[RDF] Use faster version of findBlock
llvm-svn: 300704
Diffstat (limited to 'llvm/lib/Target/Hexagon')
| -rw-r--r-- | llvm/lib/Target/Hexagon/RDFCopy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/RDFCopy.cpp b/llvm/lib/Target/Hexagon/RDFCopy.cpp index 57ce9fabc5e..ea86ffba58f 100644 --- a/llvm/lib/Target/Hexagon/RDFCopy.cpp +++ b/llvm/lib/Target/Hexagon/RDFCopy.cpp @@ -59,7 +59,7 @@ void CopyPropagation::recordCopy(NodeAddr<StmtNode*> SA, EqualityMap &EM) { bool CopyPropagation::scanBlock(MachineBasicBlock *B) { bool Changed = false; - auto BA = DFG.getFunc().Addr->findBlock(B, DFG); + NodeAddr<BlockNode*> BA = DFG.findBlock(B); for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { if (DFG.IsCode<NodeAttrs::Stmt>(IA)) { |

