- Aug 08, 2012
-
-
Eli Friedman authored
member of reference type in an anonymous struct. PR13154. llvm-svn: 161473
-
Eli Friedman authored
llvm-svn: 161472
-
Andrew Trick authored
This replaces an existing subtarget hook on ARM and allows standard CodeGen passes to potentially use the property. llvm-svn: 161471
-
Andrew Trick authored
llvm-svn: 161470
-
Andrew Trick authored
llvm-svn: 161469
-
Eli Friedman authored
sure we account for that correctly in DeadStoreElimination. Fixes a regression from r158919. PR13547. llvm-svn: 161468
-
rdar://problem/11975483Enrico Granata authored
<rdar://problem/11975483> Removing user-visible references to 'dict' as a parameter name for Python summary-generating functions since it is a Python keyword. llvm-svn: 161467
-
Sean Callanan authored
for people used to the GDB command. <rdar://problem/12052072> llvm-svn: 161466
-
Greg Clayton authored
Added the ability to set the architecture from two numbers that represent the mach-o CPU type and subtype in the format "%u-%u" or "%u.%u". This can of course be followed by vendor and OS. llvm-svn: 161465
-
-
Jakob Stoklund Olesen authored
It caused an assertion failure when compiling consumer-typeset. llvm-svn: 161463
-
Manman Ren authored
We perform the following: 1> Use SUB instead of CMP for i8,i16,i32 and i64 in ISel lowering. 2> Modify MachineCSE to correctly handle implicit defs. 3> Convert SUB back to CMP if possible at peephole. Removed pattern matching of (a>b) ? (a-b):0 and like, since they are handled by peephole now. rdar://11873276 llvm-svn: 161462
-
Jakob Stoklund Olesen authored
We can't rematerialize a PIC base after register allocation anyway, and scanning physreg use-def chains is very expensive in a function with many calls. <rdar://problem/12047515> llvm-svn: 161461
-
Jakob Stoklund Olesen authored
The getSumForBlock function was quadratic in the number of successors because getSuccWeight would perform a linear search for an already known iterator. llvm-svn: 161460
-
Dan Gohman authored
multiple scalar promotions on a single loop. This also has the effect of preserving the order of stores sunk out of loops, which is aesthetically pleasing, and it happens to fix the testcase in PR13542, though it doesn't fix the underlying problem. llvm-svn: 161459
-
Fariborz Jahanian authored
memory models, except when arc is accessing a weak ivar (which is an error). // rdar://6505197 llvm-svn: 161458
-
Chad Rosier authored
llvm-svn: 161455
-
Jakob Stoklund Olesen authored
llvm-svn: 161454
-
Jakob Stoklund Olesen authored
This adds support for TargetIndex operands during isel. The meaning of these (index, offset, flags) operands is entirely defined by the target. llvm-svn: 161453
-
Bob Wilson authored
An unsigned value converted to floating-point will always be greater than a negative constant. Unfortunately InstCombine reversed the check so that unsigned values were being optimized to always be greater than all positive floating-point constants. <rdar://problem/12029145> llvm-svn: 161452
-
Evan Cheng authored
do so when the high bits are known zero. This caused a subtle miscompilation. rdar://12027825 llvm-svn: 161451
-
Richard Smith authored
and the other is a glvalue of class type, don't forget to copy-initialize a temporary when performing the lvalue-to-rvalue conversion on the glvalue. Strangely, DefaultLvalueConversions misses this part of the lvalue-to-rvalue conversions. llvm-svn: 161450
-
- Aug 07, 2012
-
-
Richard Smith authored
for side-effects. Instead, check for side-effects after performing initialization. Doing so also removes some strange corner cases and differences between in-class initialization and constructor initialization. llvm-svn: 161449
-
Fariborz Jahanian authored
objc_release for performance for these most often called APIs. // rdar://12040837 llvm-svn: 161448
-
Dmitri Gribenko authored
implementation was changed to a union of bitfields. llvm-svn: 161447
-
Bill Wendling authored
character arrays. This is in line with what GCC does. <rdar://problem/10529227> llvm-svn: 161446
-
Douglas Gregor authored
llvm-svn: 161445
-
Bob Wilson authored
If you build with -fobjc-arc, then -fobjc-link-runtime is implied but we don't need to warn about it being unused in that case. rdar://12039965 llvm-svn: 161444
-
Ted Kremenek authored
llvm-svn: 161443
-
Dmitri Gribenko authored
Comment XML: add a root node kind for enums. llvm-svn: 161442
-
Jakob Stoklund Olesen authored
A target index operand looks a lot like a constant pool reference, but it is completely target-defined. It contains the 8-bit TargetFlags, a 32-bit index, and a 64-bit offset. It is preserved by all code generator passes. TargetIndex operands can be used to carry target-specific information in cases where immediate operands won't suffice. llvm-svn: 161441
-
Anna Zaks authored
Warns on anti-patterns/typos in the 'size' argument to strncat. The correct size argument should look like the following: - strncat(dst, src, sizeof(dst) - strlen(dest) - 1); We warn on: - sizeof(dst) - sizeof(src) - sizeof(dst) - strlen(dst) - sizeof(src) - anything (This has been implemented in void Sema::CheckStrncatArguments().) llvm-svn: 161440
-
Dmitri Gribenko authored
llvm-svn: 161439
-
Andrew Kaylor authored
llvm-svn: 161438
-
Jakob Stoklund Olesen authored
llvm-svn: 161437
-
Dmitri Gribenko authored
llvm-svn: 161436
-
Dmitri Gribenko authored
llvm-svn: 161435
-
Eli Friedman authored
llvm-svn: 161434
-
Jakob Stoklund Olesen authored
Compare the critical paths of the two traces through an if-conversion candidate. If the difference is larger than the branch brediction penalty, reject the if-conversion. If would never pay. llvm-svn: 161433
-
Marshall Clow authored
llvm-svn: 161432
-