- Dec 23, 2015
-
-
Samuel Benzaquen authored
llvm-svn: 256278
-
Akira Hatanaka authored
This reapplies r252990 and r252949. I've added member function getKind to the Attr classes which returns the enum or string of the attribute. Original commit message for r252949: Provide a way to specify inliner's attribute compatibility and merging rules using table-gen. NFC. This commit adds new classes CompatRule and MergeRule to Attributes.td, which are used to generate code to check attribute compatibility and merge attributes of the caller and callee. rdar://problem/19836465 llvm-svn: 256277
-
Rafael Espindola authored
llvm-svn: 256276
-
Rafael Espindola authored
This reverts commit r256273. It broke CodeGen/AMDGPU/llvm.dbg.value.ll llvm-svn: 256275
-
Rafael Espindola authored
The code for deleting dead global variables and functions was duplicated. This is in preparation for also deleting dead global aliases. llvm-svn: 256274
-
Changpeng Fang authored
Summary: For some reason doing executing an MUBUF instruction with the addr64 bit set and a zero base pointer in the resource descriptor causes the memory operation to be dropped when the shader is executed using the HSA runtime. This kind of MUBUF instruction is commonly used when the pointer is stored in VGPRs. The base pointer field in the resource descriptor is set to zero and and the pointer is stored in the vaddr field. This patch resolves the issue by only using flat instructions for global memory operations when targeting HSA. This is an overly conservative fix as all other configurations of MUBUF instructions appear to work. Reviewers: tstellarAMD Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D15543 llvm-svn: 256273
-
Rafael Espindola authored
llvm-svn: 256272
-
Rafael Espindola authored
Not passing an iterator to processGlobal will allow it to work with other GlobalValues. llvm-svn: 256271
-
Ed Maste authored
It has an existing XFAIL annotation for GCC >= 4.9 but it also fails on FreeBSD 10.x with Clang 3.4.1. llvm.org/pr25925 llvm-svn: 256270
-
Johannes Doerfert authored
llvm-svn: 256269
-
Ed Maste authored
This new failure has been noted in the existing PR, llvm.org/pr15824 llvm-svn: 256268
-
Johannes Doerfert authored
llvm-svn: 256267
-
Johannes Doerfert authored
llvm-svn: 256266
-
Paul Robinson authored
llvm-svn: 256265
-
Xinliang David Li authored
This is a NFC refactoring enabling code sharing by file writer. llvm-svn: 256264
-
Cong Hou authored
This patch removes all weight-related interfaces from BPI and replace them by probability versions. With this patch, we won't use edge weight anymore in either IR or MC passes. Edge probabilitiy is a better representation in terms of CFG update and validation. Differential revision: http://reviews.llvm.org/D15519 llvm-svn: 256263
-
Manuel Jacob authored
Summary: These were deprecated 11 months ago when a generic llvm.experimental.gc.result intrinsic, which works for all types, was added. Reviewers: sanjoy, reames Subscribers: sanjoy, chenli, llvm-commits Differential Revision: http://reviews.llvm.org/D15719 llvm-svn: 256262
-
Alexander Kornienko authored
llvm-svn: 256261
-
Tobias Grosser authored
Suggested by: Johannes Doerfert <doerfert@cs.uni-saarland.de> llvm-svn: 256260
-
Alexander Kornienko authored
llvm-svn: 256259
-
Vedant Kumar authored
Differential Revision: http://reviews.llvm.org/D15619 Reviewed-by: rafael llvm-svn: 256258
-
Todd Fiala authored
This is generating a SIGSEGV somewhere around 1 in 10 runs on OS X. Skip the whole test to avoid testbot noise until we can get the SIGSEGV addressed. Tracking with: https://llvm.org/bugs/show_bug.cgi?id=25924 llvm-svn: 256257
-
Nico Weber authored
llvm-svn: 256256
-
Todd Fiala authored
Fixes: https://llvm.org/bugs/show_bug.cgi?id=25922 llvm-svn: 256255
-
Alexander Kornienko authored
llvm-svn: 256254
-
Alexander Kornienko authored
llvm-svn: 256253
-
Manuel Jacob authored
Summary: Previously, RS4GC crashed in CreateGCRelocates() because it assumed that every base is also in the array of live variables, which isn't true if a live variable has a constant base. This change fixes the crash by making sure CreateGCRelocates() won't try to relocate a live variable with a constant base. This would be unnecessary anyway because anything with a constant base won't move. Reviewers: reames Subscribers: llvm-commits, sanjoy Differential Revision: http://reviews.llvm.org/D15556 llvm-svn: 256252
-
Adrian McCarthy authored
Bug: https://llvm.org/bugs/show_bug.cgi?id=25847 It now gives a more specific error message and then returns instead of trying to select the wrong frame. llvm-svn: 256251
-
Ed Maste authored
llvm.org/pr25819 llvm-svn: 256250
-
Jun Bum Lim authored
This is a recommit of r256004 which was reverted in r256160. The issue was the incorrect promotion for half and byte loads transformed into mov instructions. This fix will replace half and byte type loads only with bit field extracts. Original commit message: This change promotes load instructions which directly read from stored by replacing them with mov instructions. If the store is wider than the load, the load will be replaced with a bitfield extract. For example : STRWui %W1, %X0, 1 %W0 = LDRHHui %X0, 3 becomes STRWui %W1, %X0, 1 %W0 = UBFMWri %W1, 16, 31 llvm-svn: 256249
-
- Dec 22, 2015
-
-
Ed Maste authored
It was a copy-and-paste leftover. llvm-svn: 256248
-
Daniel Jasper authored
Before: interface I { o: {} []; } After: interface I { o: {}[]; } llvm-svn: 256247 -
Daniel Jasper authored
initializers. For now, only use it for 20 items or more. Otherwise, clang-format formats these one-per-line and thus increases the vertical code size a lot. llvm-svn: 256246
-
Daniel Jasper authored
llvm-svn: 256245
-
Tamas Berghammer authored
None of the documentation mentions that the entries are packed structs and also none of the other implementation I found pack them. Differential revision: http://reviews.llvm.org/D15715 llvm-svn: 256244
-
Anastasia Stulova authored
If there are two pointers passed to an atomic Builtin, Clang doesn't allow the second (non-atomic) one to be qualified with an address space. Remove this restriction by recording the address space of passed pointers in atomics type diagnostics. llvm-svn: 256243
-
Chad Rosier authored
llvm-svn: 256242
-
Logan Chien authored
This commit adds SHF_ALLOC and SHF_EXECINSTR section flags to `.text.__cxa_end_cleanup` section. This fixes a link error when we are using integrated-as and `ld.gold` (with `-Wl,--gc-sections` and `-Wl,--fatal-warnings`.) Detailed Explanation: 1. There might be some problem with LLVM integrated-as. It is not emitting any section flags for text sections. (This will be fixed in an independent commit.) 2. `ld.gold` will skip the external symbols in the section without SHF_ALLOC. This is the reason why `.text.__cxa_end_cleanup_impl` section is discarded even though it is referenced by `__cxa_end_cleanup()`. This commit workaround the problem by specifying the section flags explicitly. Fix http://llvm.org/PR21292 llvm-svn: 256241
-
Daniel Sanders authored
This fixes the 'pure virtual function called' failure with ThreadPool in a clang-built clang. This fixes the llvm-mips-linux builder. llvm-svn: 256240
-
Alexey Bataev authored
llvm-svn: 256239
-