[InstCombine] Add !noundef to match behavior of violating assume
The behaviors of violating assume instruction or !nonnull metadata is different. The former is immediate undefined behavior, but the latter is returning poison value. This patch adds !noundef to trigger immediate undefined behavior if !nonnull is violated. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D153400
parent
438cc10b
Please register or sign in to comment