diff options
| author | Hideki Saito <hideki.saito@intel.com> | 2018-07-24 22:30:31 +0000 |
|---|---|---|
| committer | Hideki Saito <hideki.saito@intel.com> | 2018-07-24 22:30:31 +0000 |
| commit | ef380b0fc513897df9b036fd168f9920b00855e2 (patch) | |
| tree | b3eac8fe19a6bd4bc9e8c3300c1ac9067fc6a75f /llvm/lib/Transforms/Utils/CloneFunction.cpp | |
| parent | 11eef3b3e93b7b30a85bf48d7d930c3dcbd73b10 (diff) | |
| download | bcm5719-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/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions

