summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/ELFDumper.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-01-23 16:00:22 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-01-23 16:00:22 +0000
commitf87226eb708152eba7616d194e9c6ae41f0f5e2d (patch)
tree4a923be45f7068a33db7c96feea9ee2a5e335820 /llvm/tools/llvm-readobj/ELFDumper.cpp
parent036715408ae6cd421908bafe8407f8f77ecdb088 (diff)
downloadbcm5719-llvm-f87226eb708152eba7616d194e9c6ae41f0f5e2d.tar.gz
bcm5719-llvm-f87226eb708152eba7616d194e9c6ae41f0f5e2d.zip
[IR] Match intrinsic parameter by scalar/vectorwidth
This patch replaces the existing LLVMVectorSameWidth matcher with LLVMScalarOrSameVectorWidth. The matching args must be either scalars or vectors with the same number of elements, but in either case the scalar/element type can differ, specified by LLVMScalarOrSameVectorWidth. I've updated the _overflow intrinsics to demonstrate this - allowing it to return a i1 or <N x i1> overflow result, matching the scalar/vectorwidth of the other (add/sub/mul) result type. The masked load/store/gather/scatter intrinsics have also been updated to use this, although as we specify the reference type to be llvm_anyvector_ty we guarantee the mask will be <N x i1> so no change in behaviour Differential Revision: https://reviews.llvm.org/D57090 llvm-svn: 351957
Diffstat (limited to 'llvm/tools/llvm-readobj/ELFDumper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud