[PATCH] D9414: [ARM] Save option "arm-long-calls" to the IR as a function attribute

Akira Hatanaka ahatanak at gmail.com
Mon Jul 6 23:12:28 PDT 2015


ahatanak marked an inline comment as done.

================
Comment at: test/CodeGen/arm-long-calls.c:4
@@ +3,3 @@
+
+// LONGCALL: attributes #0 = { {{.*}} "target-features"="+long-calls"
+// NOLONGCALL-NOT: attributes #0 = { {{.*}} "target-features"="+long-calls"
----------------
"+long-calls" (or "-long-calls") is never passed if -mno-calls is specified on the command line. The driver test (arm-long-calls.c) checks that "+long-calls" gets passed based on occurrence of "-mlong-calls" or "-mno-long-calls".


http://reviews.llvm.org/D9414







More information about the cfe-commits mailing list