- Jul 27, 2013
-
-
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
-
Rui Ueyama authored
Missing files will be reported as errors in the later pass, so this patch does not change the behavior of the LLD linker, but it helps writing unit tests for the driver. llvm-svn: 187256
-
Howard Hinnant authored
llvm-svn: 187255
-
Rafael Espindola authored
This reverts commit r187248. It broke many bots. llvm-svn: 187254
-
Owen Anderson authored
llvm-svn: 187253
-
Aaron Ballman authored
llvm-svn: 187252
-
- Jul 26, 2013
-
-
Bill Wendling authored
llvm-svn: 187251
-
Bill Wendling authored
llvm-svn: 187250
-
Owen Anderson authored
also worthwhile for it to look through FP extensions and truncations, whose application commutes with fneg. llvm-svn: 187249
-
Bill Schmidt authored
Both GCC and LLVM will implicitly define __ppc__ and __powerpc__ for all PowerPC targets, whether 32- or 64-bit. They will both implicitly define __ppc64__ and __powerpc64__ for 64-bit PowerPC targets, and not for 32-bit targets. We cannot be sure that all other possible compilers used to compile Clang/LLVM define both __ppc__ and __powerpc__, for example, so it is best to check for both when relying on either inside the Clang/LLVM code base. This patch makes sure we always check for both variants. In addition, it fixes one unnecessary check in lib/Target/PowerPC/PPCJITInfo.cpp. (At least one of __ppc__ and __powerpc__ should always be defined when compiling for a PowerPC target, no matter which compiler is used, so testing for them is unnecessary.) There are some places in the compiler that check for other variants, like __POWERPC__ and _POWER, and I have left those in place. There is no need to add them elsewhere. This seems to be in Apple-specific code, and I won't take a chance on breaking it. There is no intended change in behavior; thus, no test cases are added. llvm-svn: 187248
-
Eric Christopher authored
llvm-svn: 187247
-
Bob Wilson authored
When BUILD_CLANG_ONLY is set to YES, it is supposed to simply limit the tools that get built. The change in r184794 broke this feature by moving libclang and c-index-test into PARALLEL_DIRS. Those are both supposed to be in DIRS, because c-index-test has a build dependency on libclang and cannot be reliably built in parallel with it. llvm-svn: 187246
-
Eric Christopher authored
llvm-svn: 187245
-