diff options
author | Nemanja Ivanovic <nemanjai@ca.ibm.com> | 2020-05-25 20:07:22 -0500 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2020-06-22 15:09:29 -0700 |
commit | eac91d5864010a25e7e693ad565b64467dfa6ab9 (patch) | |
tree | 43468f41d402b60e5c1477b144d83a9dfe3fbaf8 /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py | |
parent | 1abba52044ddc7d79a985fc9ec0734db54ebe6b3 (diff) | |
download | bcm5719-llvm-eac91d5864010a25e7e693ad565b64467dfa6ab9.tar.gz bcm5719-llvm-eac91d5864010a25e7e693ad565b64467dfa6ab9.zip |
[PowerPC] Prevent legalization loop from promoting SELECT_CC from v4i32 to v4i32
As reported in https://bugs.llvm.org/show_bug.cgi?id=45709 we can hit an
infinite loop in legalization since we set the legalization action for
ISD::SELECT_CC for all fixed length vector types to Promote. Without some
different legalization action for the type being promoted to, the legalizer
simply loops. Since we don't have patterns to match the node, the right
legalization action should be Expand.
Differential revision: https://reviews.llvm.org/D79854
(cherry picked from commit 793cc518b9428a0b7a40c59d4ecd5939a7bc84f7)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py')
0 files changed, 0 insertions, 0 deletions