diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2022-12-23 17:14:22 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2022-12-23 17:26:05 +0300 |
commit | d8f541efe7b40fe49664054ad0e7306641762131 (patch) | |
tree | 25af48826945f0fa3c676d07a264ae351e6976d7 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | d7a63a0421d5dfe91eace88dda1e5b20550b771c (diff) | |
download | llvm-d8f541efe7b40fe49664054ad0e7306641762131.zip llvm-d8f541efe7b40fe49664054ad0e7306641762131.tar.gz llvm-d8f541efe7b40fe49664054ad0e7306641762131.tar.bz2 |
[DAGCombiner] `visitFREEZE()`: fix handling of no maybe-poison ops
The original code was confusing. It was stripping poison-generating flags,
but the comments were saying that doing so was a TODO.
If the poison-generating flags are present, then even if all operands
are guaranteed not to be undef or poison, the whole operation may still
produce undef or poison. We can still deal with that case,
and we already do deal with it in fact, by also dropping those flags.
Refs. https://github.com/llvm/llvm-project/issues/59676
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions