[PATCH] D12002: Initial WebAssembly support in clang
Dan Gohman via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 18 18:19:18 PDT 2015
sunfish updated this revision to Diff 32485.
sunfish marked an inline comment as done.
sunfish added a comment.
The patch evolved enough to prompt posting one more new version; major changes:
- make constructors and destructors return this
- enable -fuse-init-array
- enable -fno-common
- disable -mdisable-fp-elim
- put static init code in ".text.__startup"
- define a "+simd128" feature, -msimd128 option, __wasm_simd128__ macro
- ignore empty struct arguments and return values
- more tests
Repository:
rL LLVM
http://reviews.llvm.org/D12002
Files:
include/clang/Basic/BuiltinsWebAssembly.def
include/clang/Basic/TargetBuiltins.h
include/clang/Basic/TargetCXXABI.h
include/clang/Driver/Options.td
include/clang/module.modulemap
lib/AST/ASTContext.cpp
lib/Basic/Targets.cpp
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/TargetInfo.cpp
lib/Driver/Driver.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp
test/CodeGen/align-wasm.c
test/CodeGen/builtins-wasm.c
test/CodeGen/target-data.c
test/CodeGen/wasm-arguments.c
test/CodeGen/wasm-regparm.c
test/CodeGenCXX/constructor-destructor-return-this.cpp
test/CodeGenCXX/member-alignment.cpp
test/CodeGenCXX/member-function-pointers.cpp
test/CodeGenCXX/static-init-wasm.cpp
test/CodeGenCXX/wasm-args-returns.cpp
test/Driver/wasm32-unknown-unknown.cpp
test/Driver/wasm64-unknown-unknown.cpp
test/Preprocessor/init.c
test/Preprocessor/wasm-target-features.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12002.32485.patch
Type: text/x-patch
Size: 89736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150819/596e1f19/attachment-0001.bin>
More information about the cfe-commits
mailing list