- Sep 17, 2013
-
-
Ben Langmuir authored
Add llvm.x86.* intrinsics for all of the Intel SHA Extensions instructions, as well as tests. Also remove mayLoad and hasSideEffects, which can be inferred from the instruction patterns. llvm-svn: 190864
-
Kostya Serebryany authored
[asan] inline the calls to __asan_stack_free_* with small sizes. Yet another 10%-20% speedup for use-after-return llvm-svn: 190863
-
Joey Gouly authored
llvm-svn: 190862
-
Daniel Jasper authored
This fixes llvm.org/PR17265. Before: Foo::Foo() #ifdef BAR : baz(0) #endif { } After: Foo::Foo() #ifdef BAR : baz(0) #endif { } llvm-svn: 190861
-
Alexey Samsonov authored
llvm-svn: 190860
-
Stepan Dyatkovskiy authored
Wrong cast operation. MergeFunctions emits Bitcast instead of pointer-to-integer operation. Patch fixes MergeFunctions::writeThunk function. It replaces unconditional Bitcast creation with "Value* createCast(...)" method, that checks operand types and selects proper instruction. See unit-test as example. llvm-svn: 190859
-
Daniel Jasper authored
llvm-svn: 190858
-
Joerg Sonnenberger authored
llvm-svn: 190857
-
Alexey Samsonov authored
llvm-svn: 190856
-
Daniel Jasper authored
Before: if () { } else { } After: if () { } else { } This fixed llvm.org/PR17262. llvm-svn: 190855
-
Daniel Jasper authored
Before (with column limit 60): aaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaa > > aaaaa); After: aaaaaaaaaaaaaaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaa >> aaaaa); (Not sure how that could have stayed in that long without being detected..) llvm-svn: 190854
-
Alexey Samsonov authored
llvm-svn: 190853
-
Kostya Serebryany authored
llvm-svn: 190852
-
Elena Demikhovsky authored
llvm-svn: 190851
-
Craig Topper authored
llvm-svn: 190850
-
Craig Topper authored
llvm-svn: 190849
-
Craig Topper authored
Push contents of X86TargetInfo::setFeatureEnabled down to a static function called by the virtual version and all the places in getDefaultFeatures. This way getDefaultFeatures doesn't make so many virtual calls. llvm-svn: 190847
-
Craig Topper authored
llvm-svn: 190846
-
Eli Friedman authored
AssignConvertType::IncompatibleVectors means the two types are in fact compatible. :) No testcase; I don't think the extra init list has any actual visible effect other than making the resulting AST dump look a bit strange. llvm-svn: 190845
-
Eli Friedman authored
Like any other type, an init list for a vector can have the same type as the vector itself; handle that case. <rdar://problem/14990460> llvm-svn: 190844
-
Craig Topper authored
llvm-svn: 190843
-
Tobias Grosser authored
llvm-svn: 190842
-
Tobias Grosser authored
Instead of defining the relevant functions inline, we now just keep the declarations in the class itself. This makes the class declaration a lot easier to read as all functions can be seen at once. We also use this opportunity to privatize all functions not used in the public interface of the class. llvm-svn: 190841
-
Shankar Easwaran authored
This sets the sectionChoice property for DefinedAtoms. The output section name is derived by the property of the atom. This also decreases native file size. Adds a test. llvm-svn: 190840
-
Kevin Qin authored
llvm-svn: 190839
-
Jim Ingham authored
llvm-svn: 190838
-
Howard Hinnant authored
llvm-svn: 190837
-
Anna Zaks authored
This has a side effect of preventing a crash, which occurs because we get a property getter declaration, which is overriding but is declared inside @protocol. Will file a bug about this inconsistency internally. Getting a small test case is very challenging. llvm-svn: 190836
-
Anna Zaks authored
This suppresses false positive leaks. We stop tracking a value if it is assigned to a variable declared with a cleanup attribute. llvm-svn: 190835
-
Eli Friedman authored
We need to escape filenames the same way in InclusionRewriter whether UseLineDirective is true or false. Review comment from http://llvm.org/bugs/show_bug.cgi?id=17018#c2 llvm-svn: 190834
-
Eli Friedman authored
Let the module building code handle the case of overwriting an existing file itself, so the existing locking infrastructure works correctly. <rdar://problem/14403381> llvm-svn: 190833
-
Hans Wennborg authored
llvm-svn: 190832
-
Andrew Kaylor authored
llvm-svn: 190831
-
Quentin Colombet authored
When a truncate node defines a legal vector type but uses an illegal vector type, the legalization process was splitting the vector until <1 x vector> type, but then it was failing to scalarize the node because it did not know how to handle TRUNCATE. <rdar://problem/14989896> llvm-svn: 190830
-
Hans Wennborg authored
The test builds an object file to be able to get into linking mode with a valid obj file on the command-line. Using clang-cl for this, which targets win32, caused problems on some buildbots, so just use regular clang. llvm-svn: 190829
-
Nick Lewycky authored
by inspection. llvm-svn: 190828
-
Adrian Prantl authored
llvm-svn: 190827
-
Adrian Prantl authored
llvm-svn: 190826
-
Hans Wennborg authored
Previously we would warn about unused arguments such as /MD when linking. Clang already has logic to ignore compile-only options, e.g. for -D and -U. This patch extends that to include clang-cl's compile-only options too. Also, some clang-cl options should always be ignored. Doing this earlier means they get ignored both for compilation and link-only invocations. llvm-svn: 190825
-
David Majnemer authored
llvm-svn: 190824
-