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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 17:18:14 PDT 2023


MaskRay added a comment.

In D150505#4351561 <https://reviews.llvm.org/D150505#4351561>, @thesamesam wrote:

> Thanks for explaining. @xry111 Are you taking a look or shall I?

I disagree that Clang should ignore `-fno-lifetime-dse`. Historically Clang have added many ignored options to support a wide range of projects.
Time has passed and there is less motivation to do so.

For `-fno-lifetime-dse` `compile_commands.json` users, they or the generator (Bear) are responsible for removing the Clang unaware options, not Clang.


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