diff options
author | Sanjay Patel <spatel@rotateright.com> | 2014-09-03 01:06:50 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2014-09-03 01:06:50 +0000 |
commit | a982d992f0052cd467f12b1a2abb645cc50c35bb (patch) | |
tree | f46986c5bf4ff1be4cfc0aa623ef7bac526ce5c7 /llvm/lib/Transforms | |
parent | 54209533030e05c75183f515f9487593754316c7 (diff) | |
download | bcm5719-llvm-a982d992f0052cd467f12b1a2abb645cc50c35bb.tar.gz bcm5719-llvm-a982d992f0052cd467f12b1a2abb645cc50c35bb.zip |
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.
llvm-svn: 217004
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index ba330128788..f2d928ca0bb 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -3249,7 +3249,7 @@ void InnerLoopVectorizer::vectorizeBlockInLoop(BasicBlock *BB, PhiVector *PV) { Value *V = Builder.CreateBinOp(BinOp->getOpcode(), A[Part], B[Part]); if (BinaryOperator *VecOp = dyn_cast<BinaryOperator>(V)) - VecOp->copyFlags(BinOp); + VecOp->copyIRFlags(BinOp); Entry[Part] = V; } |