]> granicus.if.org Git - llvm/commitdiff
[IR] Delete operator new(size_t, unsigned) for ShuffleVector making it consistent...
authorCraig Topper <craig.topper@intel.com>
Sat, 10 Jun 2017 06:58:24 +0000 (06:58 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 10 Jun 2017 06:58:24 +0000 (06:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305140 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Instructions.h

index 07440f21efe72caee6b7712417fff03195be0b1a..6029b0a7c571960ced8849a45c26932f0a9713b3 100644 (file)
@@ -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,