summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/VPlanHCFGTransforms.h
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-04-16 19:18:53 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-04-16 19:18:53 +0000
commitd769bb1e58360f2674e0bb4ac21f4f41ccde06cf (patch)
treee6efabfb83df4a7a7e695da493aaa00d236b4458 /llvm/lib/Transforms/Vectorize/VPlanHCFGTransforms.h
parent5ecd6a48b938b37822cbfd9f309bb14e56043d38 (diff)
downloadbcm5719-llvm-d769bb1e58360f2674e0bb4ac21f4f41ccde06cf.tar.gz
bcm5719-llvm-d769bb1e58360f2674e0bb4ac21f4f41ccde06cf.zip
[X86][AVX] X86ISD::PERMV/PERMV3 node types can never fold index ops
Improves codegen demonstrated by D60512 - instructions represented by X86ISD::PERMV/PERMV3 can never memory fold the operand used for their index register. This patch updates the 'isUseOfShuffle' helper into the more capable 'isFoldableUseOfShuffle' that recognises that the op is used for a X86ISD::PERMV/PERMV3 index mask and can't be folded - allowing us to use broadcast/subvector-broadcast ops to reduce the size of the mask constant pool data. Differential Revision: https://reviews.llvm.org/D60562 llvm-svn: 358516
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/VPlanHCFGTransforms.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud