aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2021-04-07 12:11:23 -0400
committerSanjay Patel <spatel@rotateright.com>2021-04-07 12:18:12 -0400
commit1894c6c59e37b47c284f2a5ebb92b73911e71e38 (patch)
tree55a7a3cea71f008b7ce247031a74923059cd9d46 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent920c0f7e09e2a55a800a181fb9bfe296a8733c89 (diff)
downloadllvm-1894c6c59e37b47c284f2a5ebb92b73911e71e38.zip
llvm-1894c6c59e37b47c284f2a5ebb92b73911e71e38.tar.gz
llvm-1894c6c59e37b47c284f2a5ebb92b73911e71e38.tar.bz2
[InstCombine] avoid infinite loop from partial undef vectors
This fixes the examples from D99674 and https://llvm.org/PR49878 The matchers succeed on partial undef/poison vector constants, but the transform creates a full 'not' (-1) constant, so it would undo a demanded vector elements change triggered by the extractelement. Differential Revision: https://reviews.llvm.org/D100044
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions