commit | 248067085e93bd01b71ff039c35263f4e29df63e | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Sat Jan 21 17:51:25 2017 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Sat Jan 21 17:51:25 2017 +0000 |
tree | e4dbbe224a0f2235eca8153b7560f1160a8de7ec | |
parent | 54739f00876c586c7573c268fd908a8898736930 [diff] |
[ValueTracking] tighten up matchMinMax(); NFCI This is similar to what the caller (matchSelectPattern()) does. In all cases where we succeed in matching a min/max pattern, the values in that pattern will be the values of the 'select', so hoist that and remove a bunch of duplicated code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292725 91177308-0d34-0410-b5e6-96231b3b80d8