Skip to content
Permalink
Browse files

Update data layout string in backend to support 64 bit pointers in ad…

…dress space 1
  • Loading branch information...
reSHARMA committed Jul 30, 2019
1 parent 27246f7 commit f28937bea0badb325f24bf8cacadb76f8360c4d7
Showing with 1 addition and 1 deletion.
  1. +1 −1 RISCVTargetMachine.cpp
@@ -36,7 +36,7 @@ static std::string computeDataLayout(const Triple &TT) {
return "e-m:e-p:64:64-i64:64-i128:128-n64-S128";
} else {
assert(TT.isArch32Bit() && "only RV32 and RV64 are currently supported");
return "e-m:e-p:64:64-i64:64-n32-S128";
return "e-m:e-p:64:64-p1:64:32-i64:64-n32-S128";
}
}

0 comments on commit f28937b

Please sign in to comment.
You can’t perform that action at this time.