- Jul 27, 2013
-
-
Chandler Carruth authored
There doesn't appear to be any reason to put this variable on the heap. I'm suspicious of the LexicalScope above that we stuff in a map and then delete afterward, but I'm just trying to get the valgrind bot clean. llvm-svn: 187301
-
Rafael Espindola authored
llvm-svn: 187300
-
Chandler Carruth authored
than once, and the second time through we leaked memory. Found thanks to the vg-leak bot, but I can't locally reproduce it with valgrind. The debugger confirms that it is in fact leaking here. This whole code is totally gross. Why is initialize being called on each runOnFunction??? Why aren't these OwningPtr<>s, and why aren't their lifetimes better defined? Anyways, this is just a surgical change to help out the leak checking bots. llvm-svn: 187299
-
Chandler Carruth authored
someone can go through and update the RUN lines appropriately for the new pipefail behavior. llvm-svn: 187298
-
Chandler Carruth authored
their being optimized out in debug mode. Realistically, this just isn't going to be the slow part anyways. This also fixes unused variable warnings that are breaking LLD build bots. =/ I didn't see these at first, and kept losing track of the fact that they were broken. llvm-svn: 187297
-
Chandler Carruth authored
analysis of the alloca. We don't need to visit all the users twice for this. We build up a kill list during the analysis and then just process it afterward. This recovers the tiny bit of performance lost by moving to the visitor based analysis system as it removes one entire use-list walk from mem2reg. In some cases, this is now faster than mem2reg was previously. llvm-svn: 187296
-
Hans Wennborg authored
This test would fail in weird ways on systems with a one-letter filename in the root directory, because the shell would helpfully expand /? to e.g. /n. Make sure this doesn't happen by adding quotes. llvm-svn: 187295
-
Craig Topper authored
llvm-svn: 187294
-
Aaron Ballman authored
llvm-svn: 187293
-
Aaron Ballman authored
Using the function pointer instead of the function type; this allows us to re-enable a warning in MSVC by default. llvm-svn: 187292
-
Tom Stellard authored
llvm-svn: 187291
-
John Thompson authored
llvm-svn: 187287
-
Nick Lewycky authored
llvm-svn: 187286
-
Manman Ren authored
Also always add DIType, DISubprogram and DIGlobalVariable to the list in DebugInfoFinder without checking them, so we can verify them later on. llvm-svn: 187285
-
Nick Lewycky authored
llvm-svn: 187284
-
Nick Lewycky authored
Adds unit tests for it too. Split BasicBlockUtils into an analysis-half and a transforms-half, and put the analysis bits into a new Analysis/CFG.{h,cpp}. Promote isPotentiallyReachable into llvm::isPotentiallyReachable and move it into Analysis/CFG. llvm-svn: 187283
-
John Thompson authored
llvm-svn: 187282
-
Rui Ueyama authored
Some sections, such as with IMAGE_SCN_LNK_REMOVE attribute, is skipped in the first pass. Such sections need to be skipped in the latter passes. llvm-svn: 187281
-
Hans Wennborg authored
This establishes a new Flag in Options.td, which can be assigned to options that should be made available in clang's cl.exe compatible mode, and updates the Driver to make use of the flag. (The whitespace change to CMakeLists forces the build to re-run CMake and pick up the include dependency on the new .td file. This makes the build work if someone moves backwards in commit history after this change.) Differential Revision: http://llvm-reviews.chandlerc.com/D1215 llvm-svn: 187280
-
Aaron Ballman authored
llvm-svn: 187279
-
Tom Stellard authored
Merge consecutive if-regions if they contain identical statements. Both transformations reduce number of branches. The transformation is guarded by a target-hook, and is currently enabled only for +R600, but the correctness has been tested on X86 target using a variety of CPU benchmarks. Patch by: Mei Ye llvm-svn: 187278
-
John Thompson authored
Fixed case change that caused the test failure. Incorporarated Sean's review changes, consisting only of renaming and comment changes. llvm-svn: 187277
-
Eli Friedman authored
This matches how we normally perform semantic analysis for other sorts of invalid expressions: it means we don't have to reason about invalid sub-expressions. Fixes PR16680. llvm-svn: 187276
-
Richard Smith authored
no return type is specified, C++11 will deduce a cv-qualified return type in some cases, but C++1y never will. llvm-svn: 187275
-
Rafael Espindola authored
llvm-svn: 187274
-
Rafael Espindola authored
llvm-svn: 187273
-
Rafael Espindola authored
llvm-svn: 187272
-
Rafael Espindola authored
llvm-svn: 187271
-
Jim Ingham authored
llvm-svn: 187270
-
Rafael Espindola authored
llvm-svn: 187269
-
Rafael Espindola authored
llvm-svn: 187268
-
Nadav Rotem authored
SLP Vectorier: Don't vectorize really short chains because they are already handled by the SelectionDAG store-vectorizer, which does a better job in deciding when to vectorize. llvm-svn: 187267
-
Richard Smith authored
PR16708: If a lambda has an implicit return type, don't get confused if its return type has already been determined to be a type containing an 'auto'. llvm-svn: 187266
-
Nadav Rotem authored
SLP Vectorizer: Disable the vectorization of non power of two chains, such as <3 x float>, because we dont have a good cost model for these types. llvm-svn: 187265
-
Jason Molenda authored
llvm-svn: 187264
-
Rafael Espindola authored
Polly devs: please check if these commands really should fail. llvm-svn: 187263
-
Rui Ueyama authored
Patch by Ron Ofir. llvm-svn: 187262
-
Rafael Espindola authored
This change makes test with RUN lines like RUN: opt ... | FileCheck fail if opt fails, even if it prints what FileCheck wants. Enabling this found some interesting cases of broken tests that were not being noticed because opt (or some other tool) was crashing late. Pipefail is used when the shell supports it or when using the internal python based tester. llvm-svn: 187261
-
Rafael Espindola authored
llvm-svn: 187260
-
Rui Ueyama authored
llvm-svn: 187259
-