- Apr 15, 2011
-
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129558
-
NAKAMURA Takumi authored
It broke several builds. llvm-svn: 129557
-
Evan Cheng authored
forget to right shift the source by 32 first. rdar://9287902 llvm-svn: 129556
-
Peter Collingbourne authored
llvm-svn: 129555
-
Peter Collingbourne authored
As an extension, generic selection support has been added for all supported languages. The syntax is the same as for C1X. llvm-svn: 129554
-
Peter Collingbourne authored
llvm-svn: 129553
-
Johnny Chen authored
Ref: I.1 Instruction encoding diagrams and pseudocode llvm-svn: 129552
-
Michael J. Spencer authored
llvm-svn: 129551
-
Johnny Chen authored
(single element or n-element structure to all lanes). llvm-svn: 129550
-
Tanya Lattner authored
Do not expand the opencl pragma names. This is so you can also have a define named the samed as the pragma and they do not interfere (ie. cl_khr_fp64). llvm-svn: 129549
-
-
Douglas Gregor authored
is so broken that Sema can't form a declaration for it, don't bother trying to parse the definition later. Fixes <rdar://problem/9221993>. llvm-svn: 129547
-
Eli Friedman authored
canonical, and generally leads to better code. Found while looking at an article about saturating arithmetic. llvm-svn: 129545
-
Douglas Gregor authored
instantiation), be sure to add the transformed declaration into the current DeclContext. Also, remove the -Wuninitialized hack that works around this bug. Fixes <rdar://problem/9200676>. llvm-svn: 129544
-
Johnny Chen authored
llvm-svn: 129543
-
Johnny Chen authored
llvm-svn: 129542
-
Richard Smith authored
llvm-svn: 129541
-
- Apr 14, 2011
-
-
Richard Smith authored
Detect when the string "<::" is found in code after a cast or template name and is interpreted as "[:" because of the digraph "<:". When found, give an error with a fix-it to add whitespace between the "<" and "::". Patch by Richard Trieu! Plus a small tweak from me to deal with one of the tokens coming from a macro. llvm-svn: 129540
-
Douglas Gregor authored
statement, and expression pointers. While these shouldn't happen, it's better to be safe in libclang. llvm-svn: 129539
-
Owen Anderson authored
Fix an infinite alternation in JumpThreading where two transforms would repeatedly undo each other. The solution is to perform more aggressive constant folding to make one of the edges just folded away rather than trying to thread it. Fixes <rdar://problem/9284786>. Discovered with CSmith. llvm-svn: 129538
-
Fariborz Jahanian authored
// rdar://9208404 llvm-svn: 129536
-
Douglas Gregor authored
completion, look through block pointer and function pointer types to the result type of the block/function. Fixes <rdar://problem/9282583>. llvm-svn: 129535
-
Anton Korobeynikov authored
AAPCS+VFP), similar to fastcall / stdcall / whatevercall seen on x86. In particular, all library functions should always be AAPCS regardless of floating point ABI used. llvm-svn: 129534
-
Richard Smith authored
Name mangling of late-specified return types doesn't work if the return type references the argument types: template<typename T> auto f(T a) -> decltype(a.foo()); Since this is the primary reason for the introduction of this feature, downgrade implementation status to "Some examples work". llvm-svn: 129533
-
Mon P Wang authored
llvm-svn: 129532
-
Johnny Chen authored
llvm-svn: 129531
-
Chris Lattner authored
llvm-svn: 129527
-
Richard Smith authored
llvm-svn: 129525
-
Owen Anderson authored
llvm-svn: 129522
-
Douglas Gregor authored
diagnosing it as an error rather than looping infinitely. Also, explicitly disallow @defs in Objective-C++. Fixes <rdar://problem/9260136>. llvm-svn: 129521
-
Howard Hinnant authored
llvm-svn: 129520
-
Daniel Dunbar authored
llvm-svn: 129519
-
Rafael Espindola authored
size of the clang binary in Debug builds from 690MB to 679MB. llvm-svn: 129518
-
Michael J. Spencer authored
llvm-svn: 129517
-
Sebastian Redl authored
Chained PCH: Remember when additional specializations are added to a function template from a previous PCH. Fixes the only crasher when using massive chains on Clang's Sema component. We still have some incomplete codegen there. llvm-svn: 129516
-
Sebastian Redl authored
llvm-svn: 129515
-
Sebastian Redl authored
llvm-svn: 129514
-
Sebastian Redl authored
The ASTReader created by -chain-include used the generated PCH buffers in the wrong order. The effect was that all but the first chain-include files was ignored for subsequent compilations. llvm-svn: 129513
-
Mon P Wang authored
llvm-svn: 129509
-
Andrew Trick authored
This is done by pushing physical register definitions close to their use, which happens to handle flag definitions if they're not glued to the branch. This seems to be generally a good thing though, so I didn't need to add a target hook yet. The primary motivation is to generate code closer to what people expect and rule out missed opportunity from enabling macro-op fusion. As a side benefit, we get several 2-5% gains on x86 benchmarks. There is one regression: SingleSource/Benchmarks/Shootout/lists slows down be -10%. But this is an independent scheduler bug that will be tracked separately. See rdar://problem/9283108. Incidentally, pre-RA scheduling is only half the solution. Fixing the later passes is tracked by: <rdar://problem/8932804> [pre-RA-sched] on x86, attempt to schedule CMP/TEST adjacent with condition jump Fixes: <rdar://problem/9262453> Scheduler unnecessary break of cmp/jump fusion llvm-svn: 129508
-