[PATCH] D66551: [Attributor] Manifest constant return values
    Stefan Stipanovic via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Aug 21 14:14:11 PDT 2019
    
    
  
sstefan1 accepted this revision.
sstefan1 added a comment.
This revision is now accepted and ready to land.
This is nice!
================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:807
 
+  // Callback to replae the uses of CB with the constant C.
+  auto ReplaceCallSiteUsersWith = [](CallBase &CB, Constant &C) {
----------------
replace
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66551/new/
https://reviews.llvm.org/D66551
    
    
More information about the llvm-commits
mailing list