[PATCH] D13181: [CUDA] 32-bit NVPTX: long should be 32bit

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 25 15:23:51 PDT 2015


tra created this revision.
tra added reviewers: eliben, jholewinski, echristo.
tra added a subscriber: cfe-commits.
Herald added a subscriber: jholewinski.

Currently 32-bit NVPTX happens to have 64-bit long which does not match host's long in 32-bit mode.



http://reviews.llvm.org/D13181

Files:
  include/clang/Basic/BuiltinsNVPTX.def
  lib/Basic/Targets.cpp
  test/CodeGen/builtins-nvptx.c
  test/CodeGen/nvptx-inlineasm-ptx.c
  test/Preprocessor/init.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13181.35772.patch
Type: text/x-patch
Size: 5620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150925/1caf6867/attachment.bin>


More information about the cfe-commits mailing list