[PATCH] D45237: [RISCV] Fix logic check if frame pointer should be used

Alex Bradbury via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 4 07:55:32 PDT 2018


asb added a comment.

Could you please add a test, perhaps to test/Driver/frame-pointer.c?

My understanding is that in general there is a desire for codegen to remain the same or as close as possible whether it's a -g build or not, so I think disabling fp elimination for debug builds wouldn't be the right route. Or did I misunderstand you?


Repository:
  rC Clang

https://reviews.llvm.org/D45237





More information about the cfe-commits mailing list