summaryrefslogtreecommitdiff
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-07-28 06:38:49 +0000
committerTobias Grosser <tobias@grosser.es>2017-07-28 06:38:49 +0000
commit30caae6d23d92a72126cdb2223bd5d2155fd8544 (patch)
tree716beaebe9eb4e83915512950f19379f2dadf091 /polly/lib/CodeGen/PPCGCodeGeneration.cpp
parent4602c3437c0146490fc07a87bc2cab6f9df3b4e2 (diff)
[GPGPU] Fix compilation issue with latest CUDA upgrade to i128
llvm-svn: 309366
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/PPCGCodeGeneration.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
index 75c060aa7f32..dfbae93c0cf9 100644
--- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp
+++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
@@ -1739,11 +1739,11 @@ static std::string computeNVPTXDataLayout(bool is64Bit) {
if (!is64Bit) {
Ret += "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:"
- "64-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:"
+ "64-i128:128:128-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:"
"64-v128:128:128-n16:32:64";
} else {
Ret += "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:"
- "64-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:"
+ "64-i128:128:128-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:"
"64-v128:128:128-n16:32:64";
}
@@ -1758,12 +1758,12 @@ static std::string computeSPIRDataLayout(bool is64Bit) {
if (!is64Bit) {
Ret += "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:"
- "64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:"
+ "64-i128:128:128-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:"
"32-v48:64:64-v64:64:64-v96:128:128-v128:128:128-v192:"
"256:256-v256:256:256-v512:512:512-v1024:1024:1024";
} else {
Ret += "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:"
- "64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:"
+ "64-i128:128:128-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:"
"32-v48:64:64-v64:64:64-v96:128:128-v128:128:128-v192:"
"256:256-v256:256:256-v512:512:512-v1024:1024:1024";
}