- Feb 04, 2013
-
-
Jyotsna Verma authored
llvm-svn: 174331
-
Benjamin Kramer authored
I didn't see those because the test case used "not grep". FileCheck the test and XFAIL it, preserving the old optimization, so this can be fixed eventually. llvm-svn: 174330
-
Tim Northover authored
We were taking a StringRef to a temporary result, which can go horribly wrong. llvm-svn: 174328
-
Benjamin Kramer authored
Fixes PR15141. llvm-svn: 174327
-
Benjamin Kramer authored
llvm-svn: 174326
-
Benjamin Kramer authored
This required disabling a PowerPC optimization that did the following: input: x = BUILD_VECTOR <i32 16, i32 16, i32 16, i32 16> lowered to: tmp = BUILD_VECTOR <i32 8, i32 8, i32 8, i32 8> x = ADD tmp, tmp The add now gets folded immediately and we're back at the BUILD_VECTOR we started from. I don't see a way to fix this currently so I left it disabled for now. Fix some trivially foldable X86 tests too. llvm-svn: 174325
-
Tim Northover authored
llvm-svn: 174324
-
Tim Northover authored
llvm-svn: 174322
-
Tim Northover authored
llvm-svn: 174321
-
Dmitri Gribenko authored
definition Current practice is not to use 'inline' in: class Foo { public: inline void bar() { // ... } }; llvm-svn: 174317
-
Patrik Hagglund authored
Makefile.config. This is implied at the bottom of the help text of configure (besides CC/CXX/LDFLAGS, already passed to Makefile.config). For backward compatibility, the values of CFLAGS and CXXFLAGS defaults to empty, overriding the default values provided by autoconf (for example, '-g -O2' when CC=gcc'). $(CPP) is not used by our makefiles. Therefore, the value of CPP is not passed to Makefile.config, despite beeing mentioned by 'configure --help'. llvm-svn: 174313
-
Evgeniy Stepanov authored
This change lets us bootstrap LLVM/Clang under ASan and MSan. It contains fixes for 2 issues: - X86JIT reads return address from stack, which MSan does not know is initialized. - bugpoint tests run binaries with RLIMIT_AS. This does not work with certain Sanitizers. We are no longer including config.h in Compiler.h with this change. llvm-svn: 174306
-
David Blaikie authored
llvm-svn: 174305
-
David Blaikie authored
llvm-svn: 174304
-
Michael Gottesman authored
Removed reference to LLVM as a project (since in LangRef it is used solely as a reference to the IR). Thanks silvas! llvm-svn: 174301
-
Arnold Schwaighofer authored
Swift has a renaming dependency if we load into D subregisters. We don't have a way of distinguishing between insertelement operations of values from loads and other values. Therefore, we are pessimistic for now (The performance problem showed up in example 14 of gcc-loops). radar://13096933 llvm-svn: 174300
-
Edwin Vane authored
Added support to the cmake build to turn off uninitialized use warnings for gcc. This cleans the build up somewhat. Used logic simpler than found in autoconf by making use of the fact that although gcc won't complain about unsupported -Wno-* flags it *will* complain about unsupported -W flags. Reviewers: gribozavr, doug.gregor, chandlerc llvm-svn: 174299
-
NAKAMURA Takumi authored
llvm-svn: 174298
-
NAKAMURA Takumi authored
llvm-svn: 174297
-
- Feb 03, 2013
-
-
Michael Gottesman authored
Added instance variable/initializers/getter/setters for new keyword externally initialized to GlobalVariable. No *TRUE* functionality change. I am going to add in the actual test cases with the actual functionality changes in a later patch because I want to include some test cases. To be clear when I say no *TRUE* functionality change I mean that this patch (like it says in the title) only contains getters/setters and sets up a default initial value of the instance variable to false so that this patch does not affect any other uses of Global Variable.h. llvm-svn: 174295
-
Joerg Sonnenberger authored
llvm-svn: 174288
-
Nuno Lopes authored
llvm-svn: 174279
-
Michael J. Spencer authored
Improve performance of iterating over children and accessing the member file buffer by caching the file size and moving code out to the header. This also makes getBuffer return a StringRef instead of a MemoryBuffer. Both fixing a memory leak and removing a malloc. This takes getBuffer from ~10% of the time in lld to unmeasurable. llvm-svn: 174272
-
Michael J. Spencer authored
llvm-svn: 174271
-
Michael Gottesman authored
llvm-svn: 174270
-
Michael Gottesman authored
GlobalVariable about LLVM's assumptions vis-a-vis Global Variable initial values and Global Variable initializers. This is in preparation for adding the new keyword externally_initialized. Specifically, the patch explains how LLVM optimizes global initializers by assumign that global variables defined within the module are not modified from their initial values before the start of the global initializer. llvm-svn: 174269
-
- Feb 02, 2013
-
-
David Blaikie authored
The main lists of debug info metadata attached to the compile_unit had an extra layer of metadata nodes they went through for no apparent reason. This patch removes that (& still passes just as much of the GDB 7.5 test suite). If anyone can show evidence as to why these extra metadata nodes are there I'm open to reverting this patch & documenting why they're there. llvm-svn: 174266
-
Reed Kotler authored
This checkin makes hello world work. llvm-svn: 174264
-
Manman Ren authored
llvm-svn: 174259
-
Bill Wendling authored
llvm-svn: 174251
-
Bill Wendling authored
Use the AttributeSet's iterators in AttrBuilder::hasAttributes() when determining of the intersection of the AttrBuilder and AttributeSet is non-null. llvm-svn: 174250
-
Nick Lewycky authored
llvm-svn: 174241
-
Nick Lewycky authored
says, but that's a defect (to be filed). "Cls::purevfn()" is still an odr use. Also fixes a bug in the previous patch that caused us to not mark the function referenced just because we didn't want to mark it odr used. llvm-svn: 174240
-
Shuxin Yang authored
Fix a bug in DAGCombine. The symptom is mistakenly optimizing expression "x + x*x" into "x * 3.0". llvm-svn: 174239
-
Manman Ren authored
llvm-svn: 174237
-
Manman Ren authored
Testing case is reduced from MultiSource/BenchMarks/Prolangs-C++/deriv1. rdar://problem/13071590 llvm-svn: 174235
-
Bill Schmidt authored
llvm-svn: 174232
-
- Feb 01, 2013
-
-
Bill Schmidt authored
llvm-svn: 174230
-
Bill Wendling authored
This Constant could be an aggregate to represent multiple values. llvm-svn: 174228
-
Preston Gurd authored
the SCEV vector size in LoopStrengthReduce. It is observed that the BaseRegs vector size is 4 in most cases, and elements are frequently copied when it is initialized as SmallVector<const SCEV *, 2> BaseRegs. Our benchmark results show that the compilation time performance improved by ~0.5%. Patch by Wan Xiaofei. llvm-svn: 174219
-