[cfe-dev] [NVPTX] Adjust data layout according to LLVM's change

Denys Zariaiev via cfe-dev cfe-dev at lists.llvm.org
Tue Jul 11 13:21:26 PDT 2017


Hello,

I'm curious, is it safe to change an alignment i128 type for NVPTX target?
I made a patch to the LLVM backend <https://reviews.llvm.org/D34555> and
added `-i128:128` into data layout.

But after it became that LLVM and Clang layouts are different and error is
thrown at Clang side:
> backend data layout 'e-i64:64-i128:128-v16:16-v32:32-n16:32:64' does not
match expected target description 'e-i64:64-v16:16-v32:32-n16:32:64'

Could you please help with advice, can I just make another patch for Clang
to modify the layout? Won't it break any backward compatibility?

Thanks a lot,
Denys Zariaiev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170711/b78745ba/attachment.html>


More information about the cfe-dev mailing list