summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
diff options
context:
space:
mode:
authorHideki Saito <hideki.saito@intel.com>2018-07-24 22:30:31 +0000
committerHideki Saito <hideki.saito@intel.com>2018-07-24 22:30:31 +0000
commitef380b0fc513897df9b036fd168f9920b00855e2 (patch)
treeb3eac8fe19a6bd4bc9e8c3300c1ac9067fc6a75f /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
parent11eef3b3e93b7b30a85bf48d7d930c3dcbd73b10 (diff)
downloadbcm5719-llvm-ef380b0fc513897df9b036fd168f9920b00855e2.tar.gz
bcm5719-llvm-ef380b0fc513897df9b036fd168f9920b00855e2.zip
[LV] Fix for PR38110, LV encountered llvm_unreachable()
Summary: truncateToMinimalBitWidths() doesn't handle all Instructions and the worst case is compiler crash via llvm_unreachable(). Fix is to add a case to handle PHINode and changed the worst case to NO-OP (from compiler crash). Reviewers: sbaranga, mssimpso, hsaito Reviewed By: hsaito Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D49461 llvm-svn: 337861
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud