[PATCH] D31972: Do not force the frame pointer by default for ARM EABI
Christian Bruel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 21 01:07:23 PDT 2017
chrib added inline comments.
================
Comment at: test/CodeGen/arm-fp-eabi.c:1
+// RUN: %clang %s -target arm-none-eabi -O2 -S -o nofp.s
+// RUN: not grep '.setfp' nofp.s
----------------
ahatanak wrote:
> Instead of generating a .s file and looking for ".setfp", you can pass -### and check the presence or absence of -mdisable-fp-elim (see other tests in test/Driver).
yes sure, I extended the existing frame-pointer.c with the test similar to other archs. Thanks
https://reviews.llvm.org/D31972
More information about the cfe-commits
mailing list