[llvm] r305140 - [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
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 23:58:24 PDT 2017
Author: ctopper
Date: Sat Jun 10 01:58:24 2017
New Revision: 305140
URL: http://llvm.org/viewvc/llvm-project?rev=305140&view=rev
Log:
[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
Modified:
llvm/trunk/include/llvm/IR/Instructions.h
Modified: llvm/trunk/include/llvm/IR/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instructions.h?rev=305140&r1=305139&r2=305140&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Instructions.h (original)
+++ llvm/trunk/include/llvm/IR/Instructions.h Sat Jun 10 01:58:24 2017
@@ -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,
More information about the llvm-commits
mailing list