summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-12-11 19:11:16 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-12-11 19:11:16 +0000
commitec128ace8a4d7fdcdd9ffc10a94facbbda518c87 (patch)
treefb5a6c0c20d62f0fcda8c054b3ccf8c39745420c /lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py
parentba874922a2e039f6ef7e68e69e0a8dfbbd9f5561 (diff)
downloadbcm5719-llvm-ec128ace8a4d7fdcdd9ffc10a94facbbda518c87.tar.gz
bcm5719-llvm-ec128ace8a4d7fdcdd9ffc10a94facbbda518c87.zip
[InstCombine] Fix PR35618: Instcombine hangs on single minmax load bitcast.
Summary: If we have pattern `store (load(bitcast(select (cmp(V1, V2), &V1, &V2)))), bitcast)`, but the load is used in other instructions, it leads to looping in InstCombiner. Patch adds additional check that all users of the load instructions are stores and then replaces all uses of load instruction by the new one with new type. Reviewers: RKSimon, spatel, majnemer Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D41072 llvm-svn: 320407
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud