[PATCH] D65731: [Attributor] Provide a generic interface to check live instructions

Puyan Lotfi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 17:45:24 PDT 2019


plotfi added a comment.

This is build breaking on Linux and Darwin: http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/15961/steps/build/logs/stdio

Reverting.

  /Users/plotfi/Projects/llvm-project/llvm/lib/Transforms/IPO/Attributor.cpp:2263:63: error: binding value of type 'const llvm::Function' to reference to type 'llvm::Function' drops 'const' qualifier
    auto &OpcodeInstMap = InfoCache.getOpcodeInstMapForFunction(F);
                                                                ^
  /Users/plotfi/Projects/llvm-project/llvm/include/llvm/Transforms/IPO/Attributor.h:336:58: note: passing argument to parameter 'F' here
    OpcodeInstMapTy &getOpcodeInstMapForFunction(Function &F) {
                                                           ^
  1 error generated.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65731/new/

https://reviews.llvm.org/D65731





More information about the llvm-commits mailing list