[all-commits] [llvm/llvm-project] 8a0987: [InstSimplify] Do not remove insertvalue of undef ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Dec 8 02:36:15 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8a09875dd1e55f1920e58b7a01f380ef35465636
https://github.com/llvm/llvm-project/commit/8a09875dd1e55f1920e58b7a01f380ef35465636
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-12-08 (Thu, 08 Dec 2022)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/insertvalue.ll
Log Message:
-----------
[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.
More information about the All-commits
mailing list