[llvm] Remove unneeded global inits (PR #129245)
    JP Hafer via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Feb 28 07:19:54 PST 2025
    
    
  
================
@@ -2117,7 +2117,6 @@ static void writeDIGenericSubrange(raw_ostream &Out, const DIGenericSubrange *N,
   };
 
   auto GetConstant = [&](Metadata *Bound) -> int64_t {
-    assert(IsConstant(Bound) && "Expected constant");
----------------
jph-13 wrote:
Yes. Sorry for the confusion. That was supposed to be on a different PR. It was just another thing noticed.
https://github.com/llvm/llvm-project/pull/129245
    
    
More information about the llvm-commits
mailing list