diff options
author | Nikita Popov <npopov@redhat.com> | 2022-12-08 11:12:26 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-12-08 11:35:59 +0100 |
commit | 8a09875dd1e55f1920e58b7a01f380ef35465636 (patch) | |
tree | 18be14cb83dc18f3af97f561969bf9eba847cace /llvm/lib/Transforms/Utils/Debugify.cpp | |
parent | c07a01c2bb0d1f95689f809fd5be23829e364393 (diff) | |
download | llvm-8a09875dd1e55f1920e58b7a01f380ef35465636.zip llvm-8a09875dd1e55f1920e58b7a01f380ef35465636.tar.gz llvm-8a09875dd1e55f1920e58b7a01f380ef35465636.tar.bz2 |
[InstSimplify] Do not remove insertvalue of undef into poison
We cannot remove an insertvalue of undef if it inserts into a
potentially poison value. The new implementation matches that of
insertelement.
See https://alive2.llvm.org/ce/z/pCcFsW for the previously
incorrect transform.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions