- Jul 10, 2016
-
-
Michael Gottesman authored
LLVM_BUILD_TOOLS is a boolean variable that controls whether or not generated targets for llvm tools are built by the "all" target. CLANG_BUILD_TOOLS is an analogous variable for clang targets. This is useful functionality for selectively disabling the building of clang targets by default to speed up builds. In terms of implementation, I just followed the model of LLVM's implementation of this functionality. llvm-svn: 275006
-
Sean Silva authored
We were just setting DisableUnitAtATime to its default value. llvm-svn: 275005
-
Davide Italiano authored
In the solver, isUndefined() does really mean "we don't know the value yet" rather than "this is an UndefinedValue". Discussed with Eli Friedman. Differential Revision: http://reviews.llvm.org/D22192 llvm-svn: 275004
-
Rui Ueyama authored
llvm-svn: 275003
-
Sean Silva authored
llvm-svn: 275002
-
Rui Ueyama authored
llvm-svn: 275001
-
Sean Silva authored
llvm-svn: 275000
-
Sean Silva authored
This should have been done as part of the move in r274960. llvm-svn: 274999
-
Rui Ueyama authored
llvm-svn: 274998
-
Rui Ueyama authored
Only MipsThunk were using the function, and the way how it wrote thunk contents was different from ARM thunks. This patch makes them consistent. llvm-svn: 274997
-
Rui Ueyama authored
Although they are in the same .cpp file, the way they were written were slightly different, so they looked more different than they were. This patch makes their styles consistent. llvm-svn: 274996
-
Davide Italiano authored
This code was already commented out and it made some weird assumptions, e.g. using isUndefined() as "this value is UndefValue" instead of "we haven't computed this value is yet". Thanks to Eli Friedman for pointing out where I was wrong (and where this code was wrong). llvm-svn: 274995
-
Rui Ueyama authored
llvm-svn: 274994
-
Rui Ueyama authored
llvm-svn: 274993
-
- Jul 09, 2016
-
-
Michael Gottesman authored
This matches how LLVM has its cmake files organized and is cleaner than just shoving this business logic into the main CMakeLists.txt. llvm-svn: 274992
-
David Majnemer authored
MASM (ML.exe and ML64.exe) and older versions of MSVC (CL.exe) support a flag called /Zd which is more-or-less -gline-tables-only. It seems nicer to support this flag instead of exposing -gline-tables-only. llvm-svn: 274991
-
Simon Pilgrim authored
llvm-svn: 274990
-
Saleem Abdulrasool authored
These test in this change are objc++, but are built using %clang, not %clangxx. The reason this works is the driver has been adding -lc++ for sanitizer enabled builds. By making these tests use %clangxx, they no longer depend on the driver linking to c++. Doing so will allow us to prevent overlinking of libc++ for applications. llvm-svn: 274989
-
Simon Pilgrim authored
llvm-svn: 274988
-
Simon Pilgrim authored
llvm-svn: 274987
-
David Majnemer authored
There exists no relocation which can describe the address of a dllimported variable: do not try to describe their location. llvm-svn: 274986
-
Matthias Gehre authored
Summary: Previously, the added test cases crashed because the passed a null Decl to addUsage(). Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D22188 llvm-svn: 274985
-
David Majnemer authored
Don't create unnecessary truncations if the result will not be used. Also prefer preforming math before the truncation, it makes it a little easier to reason about. llvm-svn: 274984
-
David Majnemer authored
Optimize the bitfield types to conserve space for the MSVC ABI. llvm-svn: 274983
-
Jingyue Wu authored
ConstantInt::getSExtValue may fail on >64-bit integers. Add checks to call getSExtValue only on narrow integers. As a minor aside, simplify slsr-gep.ll to remove unnecessary load instructions. llvm-svn: 274982
-
Sanjay Patel authored
llvm-svn: 274981
-
Jacques Pienaar authored
[lanai] Treat .t as optional in assembly parser for RR operands and add predicate operand to ShiftRR llvm-svn: 274980
-
Matt Arsenault authored
llvm-svn: 274979
-
Matt Arsenault authored
llvm-svn: 274978
-
Martin Probst authored
Summary: ASCII case sorting does not help finding imported symbols quickly, and it is common to have e.g. class Foo and function fooFactory exported/imported from the same file. Reviewers: djasper Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D22146 llvm-svn: 274977
-
Martin Probst authored
Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D22147 llvm-svn: 274976
-
Benjamin Kramer authored
llvm-svn: 274975
-
Benjamin Kramer authored
No functionality change intended. llvm-svn: 274974
-
Benjamin Kramer authored
No functionality change intended. llvm-svn: 274973
-
Matt Arsenault authored
llvm-svn: 274972
-
Matt Arsenault authored
llvm-svn: 274971
-
NAKAMURA Takumi authored
llvm-svn: 274970
-
Matt Arsenault authored
Also fix test not actually using function labels. llvm-svn: 274969
-
Craig Topper authored
[X86] Use __builtin_ia32_vec_ext_v4hi and __builtin_ia32_vec_set_v4hi to implement pextrw/pinsertw MMX intrinsics instead of trying to use native IR. Without this we end up generating code that doesn't use mmx registers and probably doesn't work well with other mmx intrinsics. llvm-svn: 274968
-
Craig Topper authored
[X86] Remove sse41 extract intrinsics. They are not used by clang and are not implemented by the x86 backend. llvm-svn: 274967
-