summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-04-09 20:04:47 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-04-09 20:04:47 +0000
commitdf4373778263833340f65a681c489b01a5fcc26c (patch)
treee6be711e59e6059fd4230dd1c7902797968a1f6d /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
parentbd0c7eb4dc127b818b3da03d64c06c8cab55303c (diff)
downloadbcm5719-llvm-df4373778263833340f65a681c489b01a5fcc26c.tar.gz
bcm5719-llvm-df4373778263833340f65a681c489b01a5fcc26c.zip
[CodeGen] Combine concat_vector of trunc'd scalar to scalar_to_vector.
We already do: concat_vectors(scalar, undef) -> scalar_to_vector(scalar) When the scalar is legal. When it's not, but is a truncated legal scalar, we can also do: concat_vectors(trunc(scalar), undef) -> scalar_to_vector(scalar) Which is equivalent, since the upper lanes are undef anyway. While there, teach the combine to look at more than 2 operands. Differential Revision: http://reviews.llvm.org/D8883 llvm-svn: 234530
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud