diff options
author | Nikita Popov <npopov@redhat.com> | 2023-11-14 09:03:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 09:03:06 +0100 |
commit | c9832da35092e8733d505a4856f2b3dca5bd05b1 (patch) | |
tree | f2ddedf49b9f92dec116ca65660644082d186686 /llvm/lib/FileCheck/FileCheck.cpp | |
parent | e96eddec5e8ecc0fdab377571aabe85a2ee7617e (diff) | |
download | llvm-c9832da35092e8733d505a4856f2b3dca5bd05b1.zip llvm-c9832da35092e8733d505a4856f2b3dca5bd05b1.tar.gz llvm-c9832da35092e8733d505a4856f2b3dca5bd05b1.tar.bz2 |
[CGP] Drop nneg flag when moving zext past instruction (#72103)
Fix the issue by not reusing the zext at all. The code already handles
creation of new zexts if more than one is needed. Always use that
code-path instead of trying to reuse the old zext in some case.
(Alternatively we could also drop poison-generating flags on the old
zext, but it seems cleaner to not reuse it at all, especially if it's
not always possible anyway.)
Fixes https://github.com/llvm/llvm-project/issues/72046.
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions