- Jun 13, 2014
-
-
Eric Christopher authored
the subtarget. Also remove unnecessary argument to the constructor at the same time, we already have access via the subtarget. llvm-svn: 210844
-
Rafael Espindola authored
llvm-svn: 210843
-
Richard Smith authored
llvm-svn: 210842
-
Richard Smith authored
llvm-svn: 210841
-
Rafael Espindola authored
llvm-svn: 210840
-
Eric Christopher authored
llvm-svn: 210839
-
Rafael Espindola authored
llvm-svn: 210838
-
Rafael Espindola authored
llvm-svn: 210837
-
Eric Christopher authored
replace with the current subtarget. llvm-svn: 210836
-
Rafael Espindola authored
This should make sure that most new uses use the std prefix. llvm-svn: 210835
-
Reid Kleckner authored
llvm-svn: 210834
-
Bob Wilson authored
llvm-svn: 210833
-
Rafael Espindola authored
llvm-svn: 210832
-
Rafael Espindola authored
llvm-svn: 210831
-
Matt Arsenault authored
Hopefully this forces cmake to re-run. llvm-svn: 210830
-
Juergen Ributzka authored
llvm-svn: 210829
-
Duncan P. N. Exon Smith authored
Enable value forwarding for loads from `calloc()` without an intervening store. This change extends GVN to handle the following case: %1 = tail call noalias i8* @calloc(i64 1, i64 4) %2 = bitcast i8* %1 to i32* ; This load is trivially constant zero %3 = load i32* %2, align 4 This is analogous to the handling for `malloc()` in the same places. `malloc()` returns `undef`; `calloc()` returns a zero value. Note that it is correct to return zero even for out of bounds GEPs since the result of such a GEP would be undefined. Patch by Philip Reames! llvm-svn: 210828 -
Matt Arsenault authored
Delete all unused ones, and add new AMDGPU named intrinsics for the ones that are. Handle the old AMDIL names for comptability (although remove their GCCBuiltin names) and add tests since there weren't any for these before. llvm-svn: 210827
-
Nico Weber authored
1. Having "get started", "get involved", and "hacking" makes it hard to find how to send patches, so add a link from "get involved" to "hacking". 2. Remove an almost 5 year old note on the test running meachanism changing soon. 3. Let "hacking" link to the LLVM developer policy. llvm-svn: 210826
-
Jeroen Ketema authored
Tested with llvm 3.4 and trunk. llvm-svn: 210825
-
Eric Christopher authored
llvm-svn: 210824
-
Fariborz Jahanian authored
to call themselves will get the warning: "Capturing <itself> strongly in this block is likely to lead to a retain cycle". Cut down on the amount of noise by noticing that user at some point sets the captured variable to null in order to release it (and break the cycle). // rdar://16944538 llvm-svn: 210823
-
Eric Christopher authored
the initializeSubtargetDependencies code to obtain an initialized subtarget and migrate a couple of subtarget using functions to the .cpp file to avoid circular includes. llvm-svn: 210822
-
Todd Fiala authored
llvm-svn: 210821
-
Rafael Espindola authored
llvm-svn: 210820
-
Bob Wilson authored
I'm not sure what it means to set a section for a declaration in another translation unit, but there are some tests in the tree that do it so it seems to be legal now regardless. llvm-svn: 210819
-
Todd Fiala authored
Improved the P writes all GPR register values test. It now limits itself to GPR registers that are not containers for other registers. Pulled in improvements from the llgs branch. Note on Linux llgs I'm able to write a much wider range of registers successfully with $P using the bitflip test than I am able to write with debugserver. Might be worth drilling into. llvm-svn: 210818
-
Rafael Espindola authored
llvm-svn: 210817
-
Juergen Ributzka authored
This test case is supposed to xfail, because we do not handle structs or byval arguments. llvm-svn: 210816
-
Juergen Ributzka authored
Recommit with fixed argument attribute checking code, which is required to bail out of all the cases we don't handle yet. llvm-svn: 210815
-
Saleem Abdulrasool authored
Windows on ARM uses COFF/PE which is intrinsically position independent. For the case of 32-bit immediates, use a pair-wise relocation as otherwise we may exceed the range of operators. This fixes a code generation crash when using -Oz when targeting Windows on ARM. llvm-svn: 210814
-
Reid Kleckner authored
Previously we would calculate the inheritance model of a class when requiring a pointer to member type of that class to be complete. The inheritance model is used to figure out how many fields are used by the member pointer. However, once we require a pointer to member of a derived class type to be complete, we can form pointers to members of bases without calculating the inheritance model for those bases. This was causing crashes on this simple test case: struct A { void f(); void f(int); }; struct B : public A {}; void g() { void (B::*a)() = &B::f; } Now we calculate the inheritance models of all base classes when completing a member pointer type. Fixes PR2007. llvm-svn: 210813 -
Saleem Abdulrasool authored
Thanks to David Blakie and Richard Smith for pointing out that we can retain the -Wswitch coverage while avoiding the warning from GCC by pushing the unreachable outside of the switch! llvm-svn: 210812
-
Rafael Espindola authored
llvm-svn: 210811
-
Juergen Ributzka authored
Reverting it because it breaks several tests. llvm-svn: 210810
-
Alexey Samsonov authored
Turns out that DW_AT_ranges_base attribute sets the offset for DW_AT_ranges values specified in the .dwo file, but not for DW_AT_ranges specified in the skeleton compile unit DIE in the main executable. This is extremely confusing, and would hopefully be fixed in DWARF-5 when it's finalized. For now this behavior makes sense, as otherwise Fission would break DWARF consumers who doesn't know anything about DW_AT_ranges_base. llvm-svn: 210809
-
Bob Wilson authored
The syntax for Global Variables in LangRef is missing the initializer. This syntax section was added in r199218 along with changes to the dllexport/dllimport handling, and I guess it was just an oversight to omit the initializer values. I’ve marked the initializer as optional because this syntax is used for both declarations and definitions. llvm-svn: 210808
-
Eli Bendersky authored
llvm-svn: 210807
-
Saleem Abdulrasool authored
lib/Target/X86/X86TargetTransformInfo.cpp: In member function ‘virtual unsigned int {anonymous}::X86TTI::getIntImmCost(unsigned int, unsigned int, const llvm::APInt&, llvm::Type*) const’: lib/Target/X86/X86TargetTransformInfo.cpp:920:60: warning: enumeral and non-enumeral type in conditional expression [enabled by default] This seems like an unhelpful warning, but there doesnt seem to be a controlling flag, so add an explicit cast to silence the warning. llvm-svn: 210806 -
Rafael Espindola authored
llvm-svn: 210805
-