================
@@ -68,16 +68,9 @@ NVPTXTargetInfo::NVPTXTargetInfo(const llvm::Triple &Triple,
HasFastHalfType = true;
HasFloat16 = true;
- if (TargetPointerWidth == 32)
- resetDataLayout("e-p:32:32-p6:32:32-p7:32:32-i64:64-i128:128-i256:256-v16:"
- "16-v32:32-n16:32:64");
- else if (Opts.NVPTXUseShortPointers)
- resetDataLayout("e-p3:32:32-p4:32:32-p5:32:32-p6:32:32-p7:32:32-i64:64-"
- "i128:128-i256:256-v16:"
- "16-v32:32-n16:32:64");
- else
- resetDataLayout(
- "e-p6:32:32-i64:64-i128:128-i256:256-v16:16-v32:32-n16:32:64");
+ // TODO: Make shortptr a proper ABI?
----------------
arsenm wrote:
Or just delete it, this should have been an ancient bringup flag
https://github.com/llvm/llvm-project/pull/171135
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits