[PATCH] D93990: [InstSimplify] Return poison if insertelement touches out of bounds
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 3 07:32:08 PST 2021
nikic added inline comments.
================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:4403
isGuaranteedNotToBeUndefOrPoison(Vec))
return Vec;
----------------
Unrelated, but we should probably have an explicit fold for poison `Val` here, in which case we don't need non-poison vec.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93990/new/
https://reviews.llvm.org/D93990
More information about the llvm-commits
mailing list