summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-12-01 19:08:39 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-12-01 19:08:39 +0000
commite830f5427bce45b462c927dc997b4e1c408a2f3e (patch)
treefd6c536dde877e2d997109f85bb6624910f84c1c /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py
parenta6c4ce43df9f876bc7176c7d77636688568b132c (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud