From: Craig Topper Date: Sat, 10 Jun 2017 06:58:24 +0000 (+0000) Subject: [IR] Delete operator new(size_t, unsigned) for ShuffleVector making it consistent... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b73a9334a3aefae19bc8cd86791d1f4c92a76f00;p=llvm [IR] Delete operator new(size_t, unsigned) for ShuffleVector making it consistent with other instructions that declare another operator new with a different signature. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305140 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/Instructions.h b/include/llvm/IR/Instructions.h index 07440f21efe..6029b0a7c57 100644 --- a/include/llvm/IR/Instructions.h +++ b/include/llvm/IR/Instructions.h @@ -2234,6 +2234,8 @@ public: return User::operator new(s, 3); } + void *operator new(size_t, unsigned) = delete; + /// Return true if a shufflevector instruction can be /// formed with the specified operands. static bool isValidOperands(const Value *V1, const Value *V2,