[llvm] [VPlan] First step towards VPlan cost modeling (LegacyCM in CostCtx) (PR #92555)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 27 02:59:38 PDT 2024
================
@@ -75,7 +75,7 @@ class VPValue {
public:
/// Return the underlying Value attached to this VPValue.
Value *getUnderlyingValue() { return UnderlyingVal; }
- const Value *getUnderlyingValue() const { return UnderlyingVal; }
+ Value *getUnderlyingValue() const { return UnderlyingVal; }
----------------
ayalz wrote:
This loses const'ness? Makes the non-const version redundant?
https://github.com/llvm/llvm-project/pull/92555
More information about the llvm-commits
mailing list