summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/parallel_num_threads_codegen.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-10-12 19:37:47 +0000
committerCraig Topper <craig.topper@intel.com>2018-10-12 19:37:47 +0000
commit05f014a684a013a7f3504c62c4fde2f286cc6e80 (patch)
treee9675f5531ed5da535eb703cb9f51e16cdc2726c /clang/test/OpenMP/parallel_num_threads_codegen.cpp
parent9ff1e1be4e51e811e0894935ca6f08d6ec2fc8c0 (diff)
downloadbcm5719-llvm-05f014a684a013a7f3504c62c4fde2f286cc6e80.tar.gz
bcm5719-llvm-05f014a684a013a7f3504c62c4fde2f286cc6e80.zip
[LegalizeVectorTypes] When unrolling in WidenVecRes_Convert, make sure we use the original vector element count. Not min of the widened result type and the possibly widened input type.
If the input type is widened as well, but we still were forced to unroll, we shouldn't be considering the widened input element count. We should only create as many scalar operations as the original type called for. This will be important for an upcoming patch. llvm-svn: 344403
Diffstat (limited to 'clang/test/OpenMP/parallel_num_threads_codegen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud