[PatternMatch] allow undef elements in vectors with m_Neg
authorSanjay Patel <spatel@rotateright.com>
Sun, 1 Jul 2018 13:42:57 +0000 (13:42 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 1 Jul 2018 13:42:57 +0000 (13:42 +0000)
commita9fdb9fd3786eaa584b0656937bfaad31f47ace4
tree0d20a449d40b6197f458741f0b4fcb05896bdc23
parent77d2067677cfc16ef6a7934fc0c9d6cdf1d01376
[PatternMatch] allow undef elements in vectors with m_Neg

This is similar to the m_Not change from D44076.

llvm-svn: 336064
llvm/include/llvm/IR/PatternMatch.h
llvm/test/Transforms/InstCombine/add.ll