summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetMachine.cpp
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2017-10-12 22:39:52 +0000
committerAnna Thomas <anna@azul.com>2017-10-12 22:39:52 +0000
commit61aec18d467233bd229b7efbb69d12c339500553 (patch)
treeb999bb2034345de4d4a5aaa4631ae7dea2f15db2 /llvm/lib/CodeGen/TargetMachine.cpp
parent3a9c114b2418472b16276e95d3f657735926dddb (diff)
downloadbcm5719-llvm-61aec18d467233bd229b7efbb69d12c339500553.tar.gz
bcm5719-llvm-61aec18d467233bd229b7efbb69d12c339500553.zip
[CVP] Process binary operations even when def is local
Summary: This patch adds processing of binary operations when the def of operands are in the same block (i.e. local processing). Earlier we bailed out in such cases (the bail out was introduced in rL252032) because LVI at that time was more precise about context at the end of basic blocks, which implied local def and use analysis didn't benefit CVP. Since then we've added support for LVI in presence of assumes and guards. The test cases added show how local def processing in CVP helps adding more information to the ashr, sdiv, srem and add operators. Note: processCmp which suffers from the same problem will be handled in a later patch. Reviewers: philip, apilipenko, SjoerdMeijer, hfinkel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38766 llvm-svn: 315634
Diffstat (limited to 'llvm/lib/CodeGen/TargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud