diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-09-14 10:38:30 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-09-14 10:38:30 +0000 |
| commit | 8bd2d8780aa5c916fddf9ffeb43304cf732a9dce (patch) | |
| tree | 0a4f594b0b1b625b70cf7c6b93d8525f24e9977e /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | d7201b3a36c71ed0099f5d31ba8031c0482b7245 (diff) | |
[DAGCombine] (shl (or x, c1), c2) -> (or (shl x, c2), c1 << c2)
We already have a combine for this pattern when the input to shl is add, so we just need to enable the transformation when the input is or.
Original patch by @tstellar
Differential Revision: https://reviews.llvm.org/D19325
llvm-svn: 313251
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
