[PATCH] Pass -mglobal-merge as a module flag metadata.
Ahmed Bougacha
ahmed.bougacha at gmail.com
Mon Mar 2 16:12:20 PST 2015
- Switch to a "Global Merge" flag, enabled by default.
- Generate i32 values instead of strings.
- Add X86 tests (to make sure we don't emit the flags there).
http://reviews.llvm.org/D7968
Files:
include/clang/Driver/Options.td
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/global-merge.c
test/Driver/mglobal-merge.c
test/Driver/mno-global-merge.c
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7968.21060.patch
Type: text/x-patch
Size: 8827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150303/5428fdcd/attachment.bin>
More information about the cfe-commits
mailing list