summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/Core/index-source.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-03-08 07:33:43 +0000
committerCraig Topper <craig.topper@intel.com>2019-03-08 07:33:43 +0000
commit4505c99e7222885ecb746a913fc33aa9098cf098 (patch)
treeb4292c74588632e1c2459532320ffc683e92a309 /clang/test/Index/Core/index-source.cpp
parentbd83f7097c52e173fa39902996cfd2ba6cce947d (diff)
downloadbcm5719-llvm-4505c99e7222885ecb746a913fc33aa9098cf098.tar.gz
bcm5719-llvm-4505c99e7222885ecb746a913fc33aa9098cf098.zip
[X86] Improve the type checking in isLegalMaskedLoad and isLegalMaskedGather.
We were just checking pointer size and type primitive size. But this caused unintended things like vectors of half being accepted by masked load/store. For FP we now explicitly check for only double and float. For pointers we now let any pointer through. Trusting that only 32 and 64 would be used to generate assembly. We only check bitwidth after checking that the type is an integer. llvm-svn: 355667
Diffstat (limited to 'clang/test/Index/Core/index-source.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud