[PATCH] D120714: [CodeGen] Place SDNode debug ID declaration under appropriate #if

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 05:28:59 PDT 2022


thakis added a comment.

+1 to craig.topper's point. It's true that this is what ABI_BREAKING_CHECKS is for, but we should only use this if it saves significant memory. This uint16_t lives next to two bools, so removing it doesn't save any memory (it'll just become padding) as far as I can tell.

Have you seen an actual memory use improvement from this?

As far as I can tell, this adds a bunch of complexity without a benefit (?)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120714



More information about the llvm-commits mailing list