diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-03-13 08:26:27 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-03-13 08:30:51 -0500 |
commit | 4224a36957420744756d6a6450eb6502a1bfadc3 (patch) | |
tree | 234f03f48981bde79b3a2356d65abc18982a14b4 /llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp | |
parent | 78b8ce40efeb578534543fcb948cb9db22e5b81f (diff) | |
download | llvm-4224a36957420744756d6a6450eb6502a1bfadc3.zip llvm-4224a36957420744756d6a6450eb6502a1bfadc3.tar.gz llvm-4224a36957420744756d6a6450eb6502a1bfadc3.tar.bz2 |
[InstCombine] avoid creating an extra instruction in zext fold and possible inf-loop
The structure of this fold is suspect vs. most of instcombine
because it creates instructions and tries to delete them
immediately after.
If we don't have the operand types for the icmps, then we are
not behaving as assumed. And as shown in PR49475, we can inf-loop.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp')
0 files changed, 0 insertions, 0 deletions