[PATCH] D150505: [cmake] Disable GCC lifetime DSE

Xi Ruoyao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 05:40:17 PDT 2023


xry111 added a comment.

In D150505#4341931 <https://reviews.llvm.org/D150505#4341931>, @jhuber6 wrote:

> In D150505#4341921 <https://reviews.llvm.org/D150505#4341921>, @xry111 wrote:
>
>> It's already fixed by rG626849c71e85d546a004cc91866beab610222194 <https://reviews.llvm.org/rG626849c71e85d546a004cc91866beab610222194>.  See above.
>
> I'm fairly certain that patch only fixes the failing test and not the underlying problem. I don't know if there's a good way to work around this.

Is it a valid use case to run clang-tidy for a file in a build directory (**any** build directory, not only LLVM build directory) which is **not** using clang as a compiler?  If we consider it valid we need to fix the general case, i. e. modify clang-tidy to ignore unrecognizable compiler flags.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150505



More information about the llvm-commits mailing list