aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanjai@ca.ibm.com>2020-05-25 20:07:22 -0500
committerNemanja Ivanovic <nemanjai@ca.ibm.com>2020-05-25 20:09:07 -0500
commit793cc518b9428a0b7a40c59d4ecd5939a7bc84f7 (patch)
tree63e3ee08e7453fecaebf1657644a42950f3ee854 /clang/lib/Frontend/CompilerInvocation.cpp
parent9a8d7bd77040a6497233ea10fd866ad9de8bf98c (diff)
downloadllvm-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