summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2014-04-07 23:14:38 +0000
committerJim Grosbach <grosbach@apple.com>2014-04-07 23:14:38 +0000
commit64a28e70c82d12546f35359b5a4b3b8e7659cca3 (patch)
tree8f53967d503950d8228f62e5e27f5259633a7350 /llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp
parenta1c861d379ffeec421c2be1f5adc1edc04a187c3 (diff)
downloadbcm5719-llvm-64a28e70c82d12546f35359b5a4b3b8e7659cca3.tar.gz
bcm5719-llvm-64a28e70c82d12546f35359b5a4b3b8e7659cca3.zip
ARM64: Clean up file header comment a bit.
llvm-svn: 205747
Diffstat (limited to 'llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp')
-rw-r--r--llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp b/llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp
index c19ade940cb..7a59006d850 100644
--- a/llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp
+++ b/llvm/lib/Target/ARM64/ARM64PromoteConstant.cpp
@@ -8,17 +8,15 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements the ARM64PromoteConstant pass which promotes constant
-// to global variables when this is likely to be more efficient.
-// Currently only types related to constant vector (i.e., constant vector, array
-// of constant vectors, constant structure with a constant vector field, etc.)
-// are promoted to global variables.
-// Indeed, constant vector are likely to be lowered in target constant pool
-// during instruction selection.
-// Therefore, the access will remain the same (memory load), but the structures
-// types are not split into different constant pool accesses for each field.
-// The bonus side effect is that created globals may be merged by the global
-// merge pass.
+// This file implements the ARM64PromoteConstant pass which promotes constants
+// to global variables when this is likely to be more efficient. Currently only
+// types related to constant vector (i.e., constant vector, array of constant
+// vectors, constant structure with a constant vector field, etc.) are promoted
+// to global variables. Constant vectors are likely to be lowered in target
+// constant pool during instruction selection already; therefore, the access
+// will remain the same (memory load), but the structure types are not split
+// into different constant pool accesses for each field. A bonus side effect is
+// that created globals may be merged by the global merge pass.
//
// FIXME: This pass may be useful for other targets too.
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud