[llvm] 7c71b44 - [InstCombine] Remove accidental unnecessary ConstantExpr qualification added in rGb752daa26b64155
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 11 02:40:06 PDT 2020
Author: Simon Pilgrim
Date: 2020-10-11T10:39:51+01:00
New Revision: 7c71b44980b98856f36ef208531050dcc4f0ea1a
URL: https://github.com/llvm/llvm-project/commit/7c71b44980b98856f36ef208531050dcc4f0ea1a
DIFF: https://github.com/llvm/llvm-project/commit/7c71b44980b98856f36ef208531050dcc4f0ea1a.diff
LOG: [InstCombine] Remove accidental unnecessary ConstantExpr qualification added in rGb752daa26b64155
MSVC didn't complain but everything else did....
Added:
Modified:
llvm/include/llvm/IR/Constants.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/Constants.h b/llvm/include/llvm/IR/Constants.h
index 2889df00ec6a..343702aef03c 100644
--- a/llvm/include/llvm/IR/Constants.h
+++ b/llvm/include/llvm/IR/Constants.h
@@ -1039,7 +1039,7 @@ class ConstantExpr : public Constant {
/// function returns a new scalar/fixed width vector obtained from logBase2
/// of C. Undef vector elements are set to zero.
/// Return a null pointer otherwise.
- static Constant *ConstantExpr::getExactLogBase2(Constant *C);
+ static Constant *getExactLogBase2(Constant *C);
/// Return the identity constant for a binary opcode.
/// The identity constant C is defined as X op C = X and C op X = X for every
More information about the llvm-commits
mailing list