LoopVectorizer: Use matcher from PatternMatch.h for the min/max patterns
authorArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 19 Apr 2013 21:03:36 +0000 (21:03 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 19 Apr 2013 21:03:36 +0000 (21:03 +0000)
commitd717e202a2d50d47b96534dbf67b8aa6ea01b912
treecbc41b9888ab51053c398be388a28c823c3da064
parent09b798180340487e4397069e9fa22568099fd9b6
LoopVectorizer: Use matcher from PatternMatch.h for the min/max patterns

Also make some static function class functions to avoid having to mention the
class namespace for enums all the time.

No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179886 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp