diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2015-12-01 19:08:39 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2015-12-01 19:08:39 +0000 |
commit | e830f5427bce45b462c927dc997b4e1c408a2f3e (patch) | |
tree | fd6c536dde877e2d997109f85bb6624910f84c1c /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py | |
parent | a6c4ce43df9f876bc7176c7d77636688568b132c (diff) | |
download | bcm5719-llvm-e830f5427bce45b462c927dc997b4e1c408a2f3e.tar.gz bcm5719-llvm-e830f5427bce45b462c927dc997b4e1c408a2f3e.zip |
AMDGPU: Report extractelement as free in cost model
The cost for scalarized operations is computed as N * (scalar operation
cost + 1 extractelement + 1 insertelement). This partially fixes
inflating the cost of scalarized operations since every operation is
scalarized and free. I don't think we want any cost asociated with
scalarization, but for now insertelement is still counted. I'm not sure
if we should pretend that insertelement is also free, or add a way
to compute a custom scalarization cost.
llvm-svn: 254438
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py')
0 files changed, 0 insertions, 0 deletions