projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c185e
)
Default TargetData alignment information for 128-bit floating-point types.
author
Hal Finkel
<hfinkel@anl.gov>
Sun, 26 Feb 2012 04:13:31 +0000
(
04:13
+0000)
committer
Hal Finkel
<hfinkel@anl.gov>
Sun, 26 Feb 2012 04:13:31 +0000
(
04:13
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151473
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetData.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetData.cpp
b/lib/Target/TargetData.cpp
index b34018b7b1e4aaaafdbb57ab4b0913cf062f084c..3acb4ddce7183557efb71ef4709b7409795e7a19 100644
(file)
--- a/
lib/Target/TargetData.cpp
+++ b/
lib/Target/TargetData.cpp
@@
-150,6
+150,7
@@
void TargetData::init() {
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