- Aug 30, 2012
-
-
Alexey Samsonov authored
llvm-svn: 162907
-
Richard Smith authored
within its own argument list. The original definition is used for the immediate expansion, but the new definition is used for any subsequent occurences within the argument list or after the expansion. llvm-svn: 162906
-
Dmitry Vyukov authored
llvm-svn: 162905
-
Richard Smith authored
be filled in; they won't if the lambda's declarator has an invalid type. Instead take the parameters from the declarator directly. llvm-svn: 162904
-
Benjamin Kramer authored
This isn't perfect but avoids overlap of the menu and the content. llvm-svn: 162903
-
Dmitry Vyukov authored
llvm-svn: 162902
-
Tobias Grosser authored
This includes: - The isl_id of the domain of the scattering must be copied from the original domain - Remove outdated references to a 'FinalRead' statement - Print of the Pocc output, if -debug is provided. - Add line breaks to some error messages. Reported and Debugged by: Dustin Feld <d3.feld@gmail.com> llvm-svn: 162901
-
Tobias Grosser authored
llvm-svn: 162900
-
Nadav Rotem authored
because C always rounds towards zero. Thanks Dirk and Ben. llvm-svn: 162899
-
Tim Northover authored
llvm-svn: 162898
-
Dmitry Vyukov authored
llvm-svn: 162897
-
Nadav Rotem authored
llvm-svn: 162896
-
Alexey Samsonov authored
code and allow better code reuse. Make the code a bit more conforming to LLVM code style. No functionality change. llvm-svn: 162895
-
Craig Topper authored
Add FMA to switch statement in VectorLegalizer::LegalizeOp so that it can be expanded when it isn't legal. llvm-svn: 162894
-
Craig Topper authored
llvm-svn: 162893
-
Craig Topper authored
llvm-svn: 162892
-
Ted Kremenek authored
support the '-analyzer-config key=val' variant. llvm-svn: 162891
-
Nico Weber authored
Also update the tests that rely on c++98 to explicitly mention that. llvm-svn: 162890
-
Nico Weber authored
passing additional parameters to a tool. Use this to fix a FIXME in testing code. llvm-svn: 162889
-
Bill Wendling authored
llvm-svn: 162888
-
Michael Liao authored
llvm-svn: 162887
-
Eli Friedman authored
llvm-svn: 162886
-
Michael Liao authored
llvm-svn: 162885
-
Bill Wendling authored
This improves compatibility with gcc in this regard, and this file generation can be ameliorated with GCOV_PREFIX and GCOV_PREFIX_STRIP. It's also useful if your build directory doesn't specify -o <abspath> and it uses a recursive make structure, so it's not relative to the toplevel. Patch by Joshua Cranmer! <rdar://problem/12179524> llvm-svn: 162884
-
Bill Wendling authored
llvm-svn: 162883
-
Will Dietz authored
Changes the hash result for strings containing characters with values >= 128, such as UTF8 strings (not normal ASCII). Changed mostly so we match other implementations. llvm-svn: 162882
-
Michael Liao authored
- The root cause is that target constant materialization in X86 fast-isel creates a PC-rel addressing which may overflow 32-bit range in non-Small code model if .rodata section is allocated too far away from code segment in MCJIT, which uses Large code model so far. - Follow the similar logic to fix non-Small code model in fast-isel by skipping non-Small code model. llvm-svn: 162881
-
Ted Kremenek authored
llvm-svn: 162880
-
Jakob Stoklund Olesen authored
llvm-svn: 162879
-
Jakob Stoklund Olesen authored
When there are multiple tied use-def pairs on an inline asm instruction, the tied uses must appear in the same order as the defs. It is possible to write an LLVM IR inline asm instruction that breaks this constraint, but there is no reason for a front end to emit the operands out of order. The gnu inline asm syntax specifies tied operands as a single read/write constraint "+r", so ouf of order operands are not possible. llvm-svn: 162878
-
Benjamin Kramer authored
Avoids surprises when someone uses LLVM_(UN)LIKELY with an integer. llvm-svn: 162877
-
Anna Zaks authored
inlined function. This resolves retain count checker false positives that are caused by inlining ObjC and other methods. Essentially, if we are passing an object to a method with "delegate" in the selector or a function pointer as another argument, we should stop tracking the other parameters/return value as far as the retain count checker is concerned. llvm-svn: 162876
-
Anna Zaks authored
Thanks Jordan. llvm-svn: 162875
-
Benjamin Kramer authored
Tombstones and full hash collisions are rare, mark the "empty" and "no collision" paths as likely. The bug in simplifycfg that prevented the hints from being picked during selfhost up was fixed recently :) llvm-svn: 162874
-
Benjamin Kramer authored
llvm-svn: 162873
-
Ted Kremenek authored
could not be attached to a CFTypeRef. Fixes <rdar://problem/12197822> llvm-svn: 162872
-
Sean Callanan authored
ModuleList::GetSharedModule() returned NULL. <rdar://problem/12182971> llvm-svn: 162871
-
Owen Anderson authored
Allow targets to specify a minimum supported NOP size when performing NOP padding. If the desired padding is smaller than the supported NOP size, we will enlarge the padding to make it work. llvm-svn: 162870
-
Jakob Stoklund Olesen authored
For normal instructions, isTied() is set automatically by addOperand(), based on MCInstrDesc, but inline asm has tied operands outside the descriptor. llvm-svn: 162869
-
- Aug 29, 2012
-
-
Andrew Trick authored
Patch by Michael Ilseman! This fixes SimplifyCFGOpt::FoldValueComparisonIntoPredecessors to preserve metata when folding conditional branches into switches. void foo(int x) { if (x == 0) bar(1); else if (__builtin_expect(x == 10, 1)) bar(2); else if (x == 20) bar(3); } CFG: B0 | \ | X0 B10 | \ | X10 B20 | \ E X20 Merge B0-B10: w(B0-X0) = w(B0-X0)*sum-weights(B10) = w(B0-X0) * (w(B10-X10) + w(B10-B20)) w(B0-X10) = w(B0-B10) * w(B10-X10) w(B0-B20) = w(B0-B10) * w(B10-B20) B0 __ | \ \ | X10 X0 B20 | \ E X20 Merge B0-B20: w(B0-X0) = w(B0-X0) * sum-weights(B20) = w(B0-X0) * (w(B20-E) + w(B20-X20)) w(B0-X10) = w(B0-X10) * sum-weights(B20) = ... w(B0-X20) = w(B0-B20) * w(B20-X20) w(B0-E) = w(B0-B20) * w(B20-E) llvm-svn: 162868
-