Change name of copyFlags() to copyIRFlags(). Add convenience method for logical ...
authorSanjay Patel <spatel@rotateright.com>
Wed, 3 Sep 2014 01:06:50 +0000 (01:06 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 3 Sep 2014 01:06:50 +0000 (01:06 +0000)
commitae77bf49f4f0407b028488e811ab9de1cfeb4989
tree3b955b7e52b1e63304e2e8c669a2f05d81bfdbf5
parentfbe935edc15b80c9ba6b231c00e020b670164cc5
Change name of copyFlags() to copyIRFlags(). Add convenience method for logical 'and' of all flags. NFC.

Adding 'IR' to the names in an attempt to be less ambiguous about the flags we're dealing with here.

The 'and' method is needed by the SLPVectorizer (PR20802) and possibly other passes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217004 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/InstrTypes.h
lib/IR/Instructions.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp