[PATCH] D145168: Move DBG_VALUE's that depend on loads to after a load if the load is moved due to the pre register allocation ld/st optimization pass

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 13:00:10 PDT 2023


MaskRay added a comment.

I spot this issue with

  # curl -s https://raw.githubusercontent.com/chromium/chromium/main/tools/clang/scripts/update.py | python3 - --output-dir=~/Stable
  
  cd utils/bazel
  PATH=~/Stable/bin:$PATH bazel-5.0.0 build --config=generic_clang @llvm-project//llvm:opt

  In file included from external/llvm-project/llvm/lib/IR/VectorBuilder.cpp:18:
  In file included from external/llvm-project/llvm/include/llvm/IR/IntrinsicInst.h:27:
  external/llvm-project/llvm/include/llvm/IR/DebugInfoMetadata.h:23:10: fatal error: 'llvm/CodeGen/MachineInstr.h' file not found
  #include "llvm/CodeGen/MachineInstr.h"
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145168



More information about the llvm-commits mailing list