[llvm-commits] [dragonegg] r149509 - /dragonegg/trunk/include/arm/dragonegg/Target.h
Duncan Sands
baldrick at free.fr
Wed Feb 1 07:10:30 PST 2012
Author: baldrick
Date: Wed Feb 1 09:10:30 2012
New Revision: 149509
URL: http://llvm.org/viewvc/llvm-project?rev=149509&view=rev
Log:
Small ARM cleanups.
Modified:
dragonegg/trunk/include/arm/dragonegg/Target.h
Modified: dragonegg/trunk/include/arm/dragonegg/Target.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/include/arm/dragonegg/Target.h?rev=149509&r1=149508&r2=149509&view=diff
==============================================================================
--- dragonegg/trunk/include/arm/dragonegg/Target.h (original)
+++ dragonegg/trunk/include/arm/dragonegg/Target.h Wed Feb 1 09:10:30 2012
@@ -233,15 +233,14 @@
}
#endif
-#define LLVM_SET_TARGET_MACHINE_OPTIONS(options) \
- options.UseSoftFloat = TARGET_SOFT_FLOAT; \
- if (TARGET_HARD_FLOAT_ABI) \
- options.FloatABIType = llvm::FloatABI::Hard;
+#define LLVM_SET_TARGET_MACHINE_OPTIONS(options) \
+ do { \
+ options.UseSoftFloat = TARGET_SOFT_FLOAT; \
+ if (TARGET_HARD_FLOAT_ABI) \
+ options.FloatABIType = llvm::FloatABI::Hard; \
+ } while (0)
-/* Doing struct copy by partial-word loads and stores is not a good idea on ARM. */
-#define TARGET_LLVM_MIN_BYTES_COPY_BY_MEMCPY 4
-
/* These are a couple of extensions to the asm formats
%@ prints out ASM_COMMENT_START
TODO: %r prints out REGISTER_PREFIX reg_names[arg] */
More information about the llvm-commits
mailing list