[PATCH] D43105: [RISCV] Enable __int128_t and uint128_t through clang flag

Mandeep Singh Grang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 8 17:49:40 PST 2018


mgrang created this revision.
mgrang added reviewers: asb, kito-cheng, apazos.
Herald added subscribers: cfe-commits, niosHD, sabuasal, jordy.potman.lists, simoncook, johnrusso, rbar, aheejin, jgravelle-google, sbc100, sdardis, dschuff, jfb.

If the flag -fuse-int128 is passed, it will enable support for __int128_t and uint128_t types.
This flag can then be used to build compiler-rt for RISCV32.


Repository:
  rC Clang

https://reviews.llvm.org/D43105

Files:
  include/clang/Basic/LangOptions.def
  include/clang/Basic/TargetInfo.h
  include/clang/Driver/Options.td
  lib/Basic/Targets/Mips.h
  lib/Basic/Targets/RISCV.h
  lib/Basic/Targets/WebAssembly.h
  lib/Basic/Targets/X86.h
  lib/CodeGen/SwiftCallingConv.cpp
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Frontend/InitPreprocessor.cpp
  lib/Sema/Sema.cpp
  lib/Sema/SemaOverload.cpp
  lib/Sema/SemaType.cpp
  test/Driver/types.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43105.133546.patch
Type: text/x-patch
Size: 9126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180209/6827d8ba/attachment.bin>


More information about the cfe-commits mailing list