[PATCH] D31972: Do not force the frame pointer by default for ARM EABI

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 20 11:08:19 PDT 2017


ahatanak 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
----------------
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).


https://reviews.llvm.org/D31972





More information about the cfe-commits mailing list