diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-03-02 17:18:56 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-03-02 17:18:56 +0000 |
commit | fffa17983756af40fb726b425a314091767f1388 (patch) | |
tree | adc3d656b9535f4ffb2cc4ab03f909a88fb092df /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 6ab2d4891eeea6e4a928134893632de47093e132 (diff) | |
download | bcm5719-llvm-fffa17983756af40fb726b425a314091767f1388.tar.gz bcm5719-llvm-fffa17983756af40fb726b425a314091767f1388.zip |
[DAGCombiner] avoid assertion when folding binops with opaque constants
This bug was introduced with:
https://reviews.llvm.org/rL296699
There may be a way to loosen the restriction, but for now just bail out
on any opaque constant.
The tests show that opacity is target-specific. This goes back to cost
calculations in ConstantHoisting based on TTI->getIntImmCost().
llvm-svn: 296768
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions