diff options
author | Nemanja Ivanovic <nemanjai@ca.ibm.com> | 2020-05-25 20:07:22 -0500 |
---|---|---|
committer | Nemanja Ivanovic <nemanjai@ca.ibm.com> | 2020-05-25 20:09:07 -0500 |
commit | 793cc518b9428a0b7a40c59d4ecd5939a7bc84f7 (patch) | |
tree | 63e3ee08e7453fecaebf1657644a42950f3ee854 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9a8d7bd77040a6497233ea10fd866ad9de8bf98c (diff) | |
download | llvm-793cc518b9428a0b7a40c59d4ecd5939a7bc84f7.zip llvm-793cc518b9428a0b7a40c59d4ecd5939a7bc84f7.tar.gz llvm-793cc518b9428a0b7a40c59d4ecd5939a7bc84f7.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions