- Jan 19, 2014
-
-
Benjamin Kramer authored
llvm-svn: 199598
-
NAKAMURA Takumi authored
LLVM_*_OUTPUT_INTDIR should be available everywhere. It was my mistake when I introduced INTDIR stuff. llvm-svn: 199597
-
NAKAMURA Takumi authored
[CMake][Standalone] Redefine LLVM_RUNTIME_OUTPUT_INTDIR and LLVM_LIBRARY_OUTPUT_INTDIR to point appropriate target directories. llvm-svn: 199596
-
NAKAMURA Takumi authored
In LLVM build tree, they points corresponding INTDIR. In Clang standalone tree, they points external dir (llvm-config's --bindir and --libdir). llvm-svn: 199595
-
NAKAMURA Takumi authored
llvm-svn: 199594
-
NAKAMURA Takumi authored
llvm-svn: 199593
-
NAKAMURA Takumi authored
llvm-svn: 199592
-
NAKAMURA Takumi authored
[CMake] Prune LLVM_TOOLS_DIR and LLVM_LIBS_DIR in clang/test/CMakeLists.txt. They are overridden in configure_lit_site_cfg(). llvm-svn: 199591
-
Chandler Carruth authored
intrinsics. Reported on the list by Evan with a couple of attempts to fix, but it took a while to dig down to the root cause. There are two overlapping bugs here, both centering around the circumstance of discovering a memcpy operand which is known to be completely outside the bounds of the alloca. First, we need to kill the *other* side of the memcpy if it was added to this alloca. Otherwise we'll factor it into our slicing and try to rewrite it even though we know for a fact that it is dead. This is made more tricky because we can visit the sides in either order. So we have to both kill the other side and skip instructions marked as dead. The latter really should be goodness in every case, but here is a matter of correctness. Second, we need to actually remove the *uses* of the alloca by the memcpy when queuing it for later deletion. Otherwise it may still be using the alloca when we go to promote it (if the rewrite re-uses the existing alloca instruction). Do this by factoring out the use-clobbering used when for nixing a Phi argument and re-using it across the operands of a to-be-deleted instruction. llvm-svn: 199590
-
NAKAMURA Takumi authored
- Forgot to tweak autoconf's Makefile. - Apply lit's param to config.clang_tools_dir. llvm-svn: 199589
-
Tobias Grosser authored
llvm-svn: 199587
-
Tobias Grosser authored
The newer isl version broke backward compatibility. For some reason, I did not find this in my own tests. llvm-svn: 199586
-
Tobias Grosser authored
This removes the last isl_int dependency in the default build. There are still some in OpenScop and Scoplib. For those isl-0.12.2 still needs to be used. llvm-svn: 199585
-
NAKAMURA Takumi authored
llvm-svn: 199583
-
Tobias Grosser authored
This brings in isl_val support from cloog and, most importantly the following isl commit: commit d962967ab42323ea5ca0398956fbff6a98c782fa Author: Sven Verdoolaege <skimo@kotnet.org> Date: Wed Dec 18 12:05:32 2013 +0100 allow the user to impose a bound on the number of low-level operations This should allow the user to deterministically limit the effort spent on a computation. llvm-svn: 199582
-
Daniel Jasper authored
With this patch, there is dedicated testing for protocol buffers (https://developers.google.com/protocol-buffers/). Also some minor tweaks formatting tweaks. llvm-svn: 199580
-
NAKAMURA Takumi authored
[CMake] check-clang requires clang-tblgen. It is not required by anyone when external CLANG_TABLEGEN is specified. llvm-svn: 199579
-
NAKAMURA Takumi authored
llvm-svn: 199578
-
Saleem Abdulrasool authored
Ensure that the tag types are reflected on a replacement. This is particularly important for the compatibility tag which has multiple representations where the last definition wins. llvm-svn: 199577
-
Saleem Abdulrasool authored
Update names for the names as per the current ABI errata. Mark deprecated tags as such. llvm-svn: 199576
-
Saleem Abdulrasool authored
This moves the ARM build attributes definitions and support routines into the Support library. The support routines simply permit the conversion of the value to and from a string representation. The movement is prompted in order to permit access to the constants and string representations from readobj in order to facilitate decoding of the attributes section. llvm-svn: 199575
-
Saleem Abdulrasool authored
Tag_nodefaults is even and greater than 32 and thus does not need the special check to fall into the correct category. llvm-svn: 199574
-
Daniel Jasper authored
Before: foo (^{ bar(); }); After: foo(^{ bar(); }); llvm-svn: 199573
-
Nick Lewycky authored
filename the global variable. llvm-svn: 199572
-
Ted Kremenek authored
This led to a crash on invalid code (sorry, no good test case). Fixes <rdar://problem/15831804>. llvm-svn: 199571
-
Arnold Schwaighofer authored
a reduction. Really. Under certain circumstances (the use list of an instruction has to be set up right - hence the extra pass in the test case) we would not recognize when a value in a potential reduction cycle was used multiple times by the reduction cycle. Fixes PR18526. radar://15851149 llvm-svn: 199570
-
Chandler Carruth authored
This makes the 'verifyFunction' and 'verifyModule' functions totally independent operations on the LLVM IR. It also cleans up their API a bit by lifting the abort behavior into their clients and just using an optional raw_ostream parameter to control printing. The implementation of the verifier is now just an InstVisitor with no multiple inheritance. It also is significantly more const-correct, and hides the const violations internally. The two layers that force us to break const correctness are building a DomTree and dispatching through the InstVisitor. A new VerifierPass is used to implement the legacy pass manager interface in terms of the other pieces. The error messages produced may be slightly different now, and we may have slightly different short circuiting behavior with different usage models of the verifier, but generally everything works equivalently and this unblocks wiring the verifier up to the new pass manager. llvm-svn: 199569
-
Chandler Carruth authored
one, but not create one. This is useful in the verifier when we want to query the constant if it exists but not create one. To be used in an upcoming commit. llvm-svn: 199568
-
- Jan 18, 2014
-
-
Eli Bendersky authored
It's handled similarly to the other casts. CastInst::Create already knows how to handle it. llvm-svn: 199565
-
Nick Lewycky authored
Don't refuse to transform constexpr(call(arg, ...)) to call(constexpr(arg), ...)) just because the function has multiple return values even if their return types are the same. Patch by Eduard Burtescu! llvm-svn: 199564
-
Alp Toker authored
llvm-svn: 199563
-
Alp Toker authored
Update the documentation to clarify the intent of clang's built-in type trait facilities, their relation to user-facing C++ type traits and means to check for availability. Also explain that __has_feature() is not currently up to date and should not generally be used in user code (there's a proposal to provide more consistent checks via __has_builtin(), see cfe-dev). llvm-svn: 199562
-
Simon Atanasyan authored
file. llvm-svn: 199561
-
Alp Toker authored
These were showing up with find-unused-options.sh llvm-svn: 199560
-
Benjamin Kramer authored
PR18524. llvm-svn: 199559
-
NAKAMURA Takumi authored
llvm-tblgen is not built when external LLVM_TABLEGEN is specified. Even then, llvm-tblgen should be built for testing tblgen itself. llvm-svn: 199558
-
Ed Maste authored
llvm-svn: 199557
-
Simon Atanasyan authored
llvm-svn: 199556
-
Simon Atanasyan authored
Later we need to improve that solution and build a correct set of flags by merging ELF flags from all input objects. llvm-svn: 199555
-
Simon Atanasyan authored
by bitwise AND operator and remove redundant local variables. llvm-svn: 199554
-