- Jul 15, 2014
-
-
Adam Nemet authored
No functional change. The offsets for the other bitfields are specified symbolically. I need to increase the size for one of the earlier fields which is easier after this cleanup. Why these bits are relative to VEXShift is a bit strange but that is for another cleanup. I made sure that the values for the enums are unchanged after this change. llvm-svn: 213011
-
Alp Toker authored
llvm-svn: 213010
-
David Majnemer authored
Switch some things to use range-based for loops. Change CXXUuidofExpr::GetUuidAttrOfType's return type to be const. No functionality changed. llvm-svn: 213009
-
Alp Toker authored
Prospectively revert to get one of the many build configurations back working (presumably the side-by-side+modular CMake config). This reverts commit r212997. llvm-svn: 213008
-
Greg Clayton authored
<rdar://problem/17540766> llvm-svn: 213007
-
David Majnemer authored
COFF lacks a feature that other object file formats support: mergeable sections. To work around this, MSVC sticks constant pool entries in special COMDAT sections so that each constant is in it's own section. This permits unused constants to be dropped and it also allows duplicate constants in different translation units to get merged together. This fixes PR20262. Differential Revision: http://reviews.llvm.org/D4482 llvm-svn: 213006
-
Alp Toker authored
This broke one of the builds, presumably side-by-side modular CMake. Investigating. This reverts commit r212998. llvm-svn: 213005
-
Greg Clayton authored
<rdar://problem/17604133> llvm-svn: 213004
-
Kaelyn Takata authored
Otherwise, multiple errors such as having unknown identifiers for two arguments won't be diagnosed properly (e.g. only the first one would have a diagnostic message if typo correction fails even though both would be diagnosed if typo correction suggests a replacement). llvm-svn: 213003
-
Alp Toker authored
llvm-svn: 213002
-
Andrea Di Biagio authored
This patch teaches the DAGCombiner how to fold a pair of shuffles according to rules: 1. shuffle(shuffle A, B, M0), B, M1) -> shuffle(A, B, M2) 2. shuffle(shuffle A, B, M0), A, M1) -> shuffle(A, B, M3) The new rules would only trigger if the resulting shuffle has legal type and legal mask. Added test 'combine-vec-shuffle-3.ll' to verify that DAGCombiner correctly folds shuffles on x86 when the resulting mask is legal. Also added some negative cases to verify that we avoid introducing illegal shuffles. llvm-svn: 213001
-
Matt Arsenault authored
llvm-svn: 213000
-
Matt Arsenault authored
llvm-svn: 212999
-
Alp Toker authored
clang r212997 incorporated these settings into its own build system. They no longer need to be set from LLVM. llvm-svn: 212998
-
Alp Toker authored
llvm-svn: 212997
-
Alp Toker authored
llvm-svn: 212996
-
Alp Toker authored
llvm-svn: 212995
-
Alp Toker authored
llvm-svn: 212994
-
David Majnemer authored
This is just a helper routine, no functionality has changed. llvm-svn: 212993
-
Matt Arsenault authored
llvm-svn: 212992
-
David Majnemer authored
The underlying function. utohex_buffer, already supports an argument for deciding if the hex characters should be upper or lower case. Expose an identical argument for utohexstr. llvm-svn: 212991
-
Sanjay Patel authored
llvm-svn: 212990
-
Ben Langmuir authored
The attempt in r212980 was broken because we might not fail if LLVM_ON_UNIX is enabled for cross compiling to Windows, and it didn't consider mingw either. llvm-svn: 212989
-
Joerg Sonnenberger authored
llvm-svn: 212987
-
Justin Bogner authored
Until now, attempting to create an alias of a required option would complain if the user supplied the alias, because the required option didn't have a value. Similarly, if you said the alias was required, then using the base option would complain that the alias wasn't supplied. Lastly, if you put required on both, *neither* option would work. By changning alias to overload addOccurrence and setting cl::Required on the original option, we can get this to behave in a more useful way. I've also added a test and updated a user that was getting this wrong. llvm-svn: 212986
-
David Majnemer authored
@icmp_sdiv_neg1 should have referred to %a instead of %call, it was renamed at the last second. llvm-svn: 212983
-
Joerg Sonnenberger authored
corresponding AST context function, only restricted to basic integer types. Use this to ensure getUIntPtrType() gives types consistent with getIntPtrType(). Fix NVPTX backend to give signed intptr_t. llvm-svn: 212982
-
David Majnemer authored
Determining the bounds of x/ -1 would start off with us dividing it by INT_MIN. Suffice to say, this would not work very well. Instead, handle it upfront by checking for -1 and mapping it to the range: [INT_MIN + 1, INT_MAX. This means that the result of our division can be any value other than INT_MIN. llvm-svn: 212981
-
Ben Langmuir authored
llvm-svn: 212980
-
Ehsan Akhgari authored
llvm-svn: 212979
-
Richard Smith authored
array prvalue), treat that as a direct binding. Only the class prvalue case needs to be excluded here; the rest are extensions anyway, so we can treat them as we would in C++11. llvm-svn: 212978
-
Sanjay Patel authored
llvm-svn: 212977
-
David Majnemer authored
Summary: When calculating the upper bound of X / -8589934592, we would perform the following calculation: Floor[INT_MAX / 8589934592] However, flooring the result would make us wrongly come to the conclusion that 1073741824 was not in the set of possible values. Instead, use the ceiling of the result. Reviewers: nicholas Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D4502 llvm-svn: 212976
-
Ben Langmuir authored
Just because we can open a directory named "COcoa.framework" doesn't mean we should provide a "COcoa" module on a case-insensitive filesystem. llvm-svn: 212975
-
Alp Toker authored
Also consolidate 'backward compatibility' llvm-svn: 212974
-
Justin Bogner authored
llvm-svn: 212973
-
Alp Toker authored
We don't have a style guide for diagnostic messages, but convention strongly favours the forms: 'attribute is not supported', 'unsupported attribute' We generally avoid: 'attribute is unsupported', 'non-supported attribute' llvm-svn: 212972
-
Matt Arsenault authored
llvm-svn: 212971
-
Nick Lewycky authored
Don't eliminate memcpy's when the address of the pointer may itself be relevant. Fixes PR18304. Patch by David Wiberg! llvm-svn: 212970
-
Sylvestre Ledru authored
llvm-svn: 212969
-