summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2015-02-08 00:50:47 +0000
committerTim Northover <tnorthover@apple.com>2015-02-08 00:50:47 +0000
commit45aa89c9251b95e857c2c84e2eeec6eeb19f3a10 (patch)
tree4ff30579816074998aed9f7193a26a99ad794318 /clang/lib/Sema/SemaDecl.cpp
parent92545a03dfb8d4360738828ec7dcfcbed5d372fc (diff)
downloadbcm5719-llvm-45aa89c9251b95e857c2c84e2eeec6eeb19f3a10.tar.gz
bcm5719-llvm-45aa89c9251b95e857c2c84e2eeec6eeb19f3a10.zip
ARM & AArch64: teach LowerVSETCC that output type size may differ from input.
While various DAG combines try to guarantee that a vector SETCC operation will have the same output size as input, there's nothing intrinsic to either creation or LegalizeTypes that actually guarantees it, so the function needs to be ready to handle a mismatch. Fortunately this is easy enough, just extend or truncate the naturally compared result. I couldn't reproduce the failure in other backends that I know have SIMD, so it's probably only an issue for these two due to shared heritage. Should fix PR21645. llvm-svn: 228518
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud