summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-06-10 06:58:24 +0000
committerCraig Topper <craig.topper@intel.com>2017-06-10 06:58:24 +0000
commit3d4a6c2bd81a1449bf852abd5af0a17f846af8bf (patch)
tree98e4145f8bb4db3526f1706923d5a88f8de0364e
parent64f354553d7efe69268c135a0a340960fb9268b7 (diff)
downloadbcm5719-llvm-3d4a6c2bd81a1449bf852abd5af0a17f846af8bf.tar.gz
bcm5719-llvm-3d4a6c2bd81a1449bf852abd5af0a17f846af8bf.zip
[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
llvm-svn: 305140
-rw-r--r--llvm/include/llvm/IR/Instructions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/IR/Instructions.h b/llvm/include/llvm/IR/Instructions.h
index 07440f21efe..6029b0a7c57 100644
--- a/llvm/include/llvm/IR/Instructions.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud