[InstSimplify] gep with poison operand is poison
authorJuneyoung Lee <aqjune@gmail.com>
Tue, 5 Jan 2021 01:58:49 +0000 (10:58 +0900)
committerJuneyoung Lee <aqjune@gmail.com>
Tue, 5 Jan 2021 02:07:49 +0000 (11:07 +0900)
commitf665a8c5b8b42d88f89e1a3594b7d410ef206c32
tree5a54d71711ac299d0d58bd9003e0832be2611a3b
parentf28b026d32ca20208e24cab3aabb9d9fb0f1948a
[InstSimplify] gep with poison operand is poison

This is a tiny update to fold gep poison into poison. :)

Alive2 proofs:
https://alive2.llvm.org/ce/z/7Nwdri
https://alive2.llvm.org/ce/z/sDP4sC
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/gep.ll