summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/OpenMPKinds.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2016-03-30 10:11:43 +0000
committerJames Molloy <james.molloy@arm.com>2016-03-30 10:11:43 +0000
commit8e46cd05a17c0499f744a85f8ef905cafb47eb3e (patch)
tree14d712aa667803901874fd82784d9504e4bd2fdc /clang/lib/Basic/OpenMPKinds.cpp
parentb780c44eeca9a1724c53adb82501587a1fcd9750 (diff)
downloadbcm5719-llvm-8e46cd05a17c0499f744a85f8ef905cafb47eb3e.tar.gz
bcm5719-llvm-8e46cd05a17c0499f744a85f8ef905cafb47eb3e.zip
[VectorUtils] Don't try and truncate PHIs to a smaller bitwidth
We already try not to truncate PHIs in computeMinimalBitwidths. LoopVectorize can't handle it and we really don't need to, because both induction and reduction PHIs are truncated by other means. However, we weren't bailing out in all the places we should have, and we ended up by returning a PHI to be truncated, which has caused PR27018. This fixes PR17018. llvm-svn: 264852
Diffstat (limited to 'clang/lib/Basic/OpenMPKinds.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud