From: Jim Grosbach Date: Mon, 7 Apr 2014 23:14:38 +0000 (+0000) Subject: ARM64: Clean up file header comment a bit. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2ed715793dab2aad328fc94a4ddef1685180972a;p=oota-llvm.git ARM64: Clean up file header comment a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205747 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM64/ARM64PromoteConstant.cpp b/lib/Target/ARM64/ARM64PromoteConstant.cpp index c19ade940cb..7a59006d850 100644 --- a/lib/Target/ARM64/ARM64PromoteConstant.cpp +++ b/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. //===----------------------------------------------------------------------===//