- Jun 13, 2014
-
-
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
-
Saleem Abdulrasool authored
tools/clang/lib/Basic/DiagnosticIDs.cpp: In function ‘clang::DiagnosticIDs::Level toLevel(clang::diag::Severity)’: tools/clang/lib/Basic/DiagnosticIDs.cpp:382:1: warning: control reaches end of non-void function [-Wreturn-type] tools/clang/lib/Format/Format.cpp: In member function ‘virtual std::string clang::format::ParseErrorCategory::message(int) const’: tools/clang/lib/Format/Format.cpp:282:1: warning: control reaches end of non-void function [-Wreturn-type] Add a default cases that asserts that we handle the severity, parse error. llvm-svn: 210804
-
Rafael Espindola authored
This is a minimal change to remove the header. I will remove the occurrences of "using std::error_code" in a followup patch. llvm-svn: 210803
-
Rafael Espindola authored
llvm-svn: 210802
-
Rafael Espindola authored
llvm-svn: 210801
-
Rafael Espindola authored
This will reduce the noise in a followup patch. llvm-svn: 210800
-
Rafael Espindola authored
llvm-svn: 210799
-
-
Rafael Espindola authored
llvm-svn: 210797
-
Simon Atanasyan authored
llvm-svn: 210796
-
Fariborz Jahanian authored
patch. NFC. llvm-svn: 210795
-
Artyom Skrobov authored
llvm-svn: 210794
-
Zachary Turner authored
Since removeRegistrationListener is no longer called during static destruction, we can get rid of the pimpl in PassRegistry. This should clean up the code somewhat, increase clarity, and also allows us to put the Lock as a member of the class, instead of as a ManagedStatic. As part of this change, the PassInfo class is moved from PassSupport.h to its own file, to eliminate the otherwise circular header dependency between PassRegistry.h and PassSupport.h Reviewed by: rnk, dblaikie Differential Revision: http://reviews.llvm.org/D4107 llvm-svn: 210793
-
Tom Stellard authored
This reverts commit r210540, adds a testcase for the regression it caused, and marks the R600 test it was supposed to fix as XFAIL. llvm-svn: 210792
-
- Jun 12, 2014
-
-
Eli Bendersky authored
llvm-svn: 210791
-
James Molloy authored
Moritz's changes have improved codegen a lot, but further testing showed significant correctness problems. Disable by default until these have been worked out. Patch by Moritz Roth! llvm-svn: 210789
-
Daniel Sanders authored
Summary: Also tightened up the acceptable condition operand for these instructions on MIPS-I to MIPS-III. Support for $fcc[1-7] was added in MIPS-IV. Prior to that only $fcc0 is acceptable. We currently don't optimize (BEQZ (NOT $a), $target) and similar. It's probably best to do this in InstCombine. Depends on D4111 Reviewers: jkolek, zoran.jovanovic, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D4112 llvm-svn: 210787
-
Daniel Sanders authored
Summary: These instructions are not implemented for any MIPS ISA so we only need testcases. Depends on D4110 Reviewers: jkolek, zoran.jovanovic, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D4111 llvm-svn: 210786
-
Rafael Espindola authored
llvm-svn: 210785
-
Daniel Sanders authored
Summary: Folded mips64-fp-indexed-ls.ll into fp-indexed-ls.ll. To do so, the zext's in mips64-fp-indexed-ls.ll were changed to implicit sign extensions (performed by getelementptr). This does not affect the purpose of the test. Depends on D4004 Reviewers: zoran.jovanovic, jkolek, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D4110 llvm-svn: 210784
-
Rafael Espindola authored
llvm-svn: 210783
-
http://reviews.llvm.org/D3658Dinesh Dwivedi authored
The patch transforms ABS(NABS(X)) -> ABS(X) NABS(ABS(X)) -> NABS(X) Differential Revision: http://reviews.llvm.org/D4040 llvm-svn: 210782
-
Rafael Espindola authored
llvm-svn: 210781
-