summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-11-12 14:25:23 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-11-12 14:25:23 +0000
commit631f2bf51e5a7c78a5aecb52efc06787a1499c9f (patch)
tree42da35c6d07b0d92cdd5332d79e952cdaf13f97c /clang/lib/CodeGen/BackendUtil.cpp
parent9c03e4cacdaa75d30b8868f3a94d997ee79bed96 (diff)
downloadbcm5719-llvm-631f2bf51e5a7c78a5aecb52efc06787a1499c9f.tar.gz
bcm5719-llvm-631f2bf51e5a7c78a5aecb52efc06787a1499c9f.zip
[CostModel] Add more realistic SK_ExtractSubvector generic costs.
Instead of defaulting to a cost = 1, expand to element extract/insert like we do for other shuffles. This exposes an issue in LoopVectorize which could call SK_ExtractSubvector with a scalar subvector type. llvm-svn: 346656
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud