[PATCH] D104827: [DebugInfo] Enforce implicit constraints on `distinct` MDNodes
    Scott Linder via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jul 22 14:59:41 PDT 2021
    
    
  
scott.linder added inline comments.
================
Comment at: llvm/lib/IR/AsmWriter.cpp:4714
-  WriteAsOperandInternal(OS, &MD, &TypePrinter, MST.getMachine(), M,
-                         /* FromValue */ true);
 
----------------
I think I've identified the source of the bug causing the assert on GreenDragon: I didn't intend to remove this FromValue=true argument. I believe the assert can still be hoisted up, so I'll post an updated patch which just restores this line.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104827/new/
https://reviews.llvm.org/D104827
    
    
More information about the llvm-commits
mailing list