summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/thread/main.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-05-23 15:59:58 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-05-23 15:59:58 +0000
commita96ec3f36016eee02c346e9b8100f31f28a6f079 (patch)
tree0480a9f477e61611ef9b69acfeeb9769c9d38253 /lldb/packages/Python/lldbsuite/test/functionalities/thread/main.cpp
parentbf35e6ab2aae9b3d529d0659248ebb1af1a330d6 (diff)
downloadbcm5719-llvm-a96ec3f36016eee02c346e9b8100f31f28a6f079.tar.gz
bcm5719-llvm-a96ec3f36016eee02c346e9b8100f31f28a6f079.zip
[AMDGPU] Convert shl (add) into add (shl)
shl (or|add x, c2), c1 => or|add (shl x, c1), (c2 << c1) This allows to fold a constant into an address in some cases as well as to eliminate second shift if the expression is used as an address and second shift is a result of a GEP. Differential Revision: https://reviews.llvm.org/D33432 llvm-svn: 303641
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud