[llvm-commits] [llvm] r151473 - /llvm/trunk/lib/Target/TargetData.cpp
Hal Finkel
hfinkel at anl.gov
Sat Feb 25 20:13:31 PST 2012
Author: hfinkel
Date: Sat Feb 25 22:13:31 2012
New Revision: 151473
URL: http://llvm.org/viewvc/llvm-project?rev=151473&view=rev
Log:
Default TargetData alignment information for 128-bit floating-point types.
Modified:
llvm/trunk/lib/Target/TargetData.cpp
Modified: llvm/trunk/lib/Target/TargetData.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetData.cpp?rev=151473&r1=151472&r2=151473&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetData.cpp (original)
+++ llvm/trunk/lib/Target/TargetData.cpp Sat Feb 25 22:13:31 2012
@@ -150,6 +150,7 @@
setAlignment(FLOAT_ALIGN, 2, 2, 16); // half
setAlignment(FLOAT_ALIGN, 4, 4, 32); // float
setAlignment(FLOAT_ALIGN, 8, 8, 64); // double
+ setAlignment(FLOAT_ALIGN, 16, 16, 128); // ppcf128, quad, ...
setAlignment(VECTOR_ALIGN, 8, 8, 64); // v2i32, v1i64, ...
setAlignment(VECTOR_ALIGN, 16, 16, 128); // v16i8, v8i16, v4i32, ...
setAlignment(AGGREGATE_ALIGN, 0, 8, 0); // struct
More information about the llvm-commits
mailing list