summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/UserExpression.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-09-25 20:22:12 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-09-25 20:22:12 +0000
commit10aa8078566379592f36487fe9aa9e6b489d55cc (patch)
treea58c42598e751da19b6bb0e043f37efd92d23ca5 /lldb/source/Expression/UserExpression.cpp
parentd9f102b464d5074e7aac7eef49c49e606c892d59 (diff)
downloadbcm5719-llvm-10aa8078566379592f36487fe9aa9e6b489d55cc.tar.gz
bcm5719-llvm-10aa8078566379592f36487fe9aa9e6b489d55cc.zip
PeepholeOptimizer: Remove redundant copies
If a virtual register is copied and another copy was already seen, replace with the previous copy. This only handles the simplest cases for now. This pattern shows up from various operand restrictions AMDGPU has which require inserting copies depending on the register class of the operands. llvm-svn: 248611
Diffstat (limited to 'lldb/source/Expression/UserExpression.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud