Skip to content
Permalink
Browse files

Make pointer size 64 bit in RV32

  • Loading branch information...
reSHARMA committed May 21, 2019
1 parent ced1861 commit 93b7b814d7d312a119102f167858c10353b596cd
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:32:32-i64:64-n32-S128";
return "e-m:e-p:64:64-i64:64-n32-S128";
}
}

0 comments on commit 93b7b81

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