- Jan 07, 2013
-
-
Michael Gottesman authored
[ObjCARC Debug Message] - Added debug message when fuse a retain/autorelease pair in ObjCARCContract::ContractAutorelease. llvm-svn: 171679
-
Michael Gottesman authored
[ObjCARC Debug Message] - Added debug message when we zap a matching retain/autorelease pair in ObjCARCOpt::OptimizeReturns. llvm-svn: 171678
-
Michael Gottesman authored
[ObjCARC Debug Message] - Added debug message when we erase ARC calls with null since they are no-ops. llvm-svn: 171677
-
Michael Gottesman authored
[ObjCARC Debug Message] - Added debug message when we add a nounwind keyword to a function which can not throw. llvm-svn: 171676
-
Michael Gottesman authored
[ObjCARC Debug Message] - Added debug message when we add a tail keyword to a function which can never be passed stack args. llvm-svn: 171675
-
- Jan 06, 2013
-
-
Michael Gottesman authored
llvm-svn: 171674
-
Michael Gottesman authored
Added debug statement to ObjCARC when we replace objc_autorelease(x) with objc_release(x) when x is otherwise unused. llvm-svn: 171673
-
Michael Gottesman authored
Added 2x Debug statements to ObjCARC that log when we handle the two undefined pointer-to-weak-pointer is NULL cases by replacing the given call inst with an undefined value. The reason that there are two cases is that the first case handles the unary cases and the second the binary cases. llvm-svn: 171672
-
Dmitri Gribenko authored
is actually used by a few Linux distributions llvm-svn: 171671
-
Michael Gottesman authored
Added debug message in ObjCARC when we remove a no-op cast which has only special semantic meaning in the frontend and thus in the optimizer can be deleted. llvm-svn: 171670
-
Michael Gottesman authored
Added debug message to ObjCARC when we transform an objc_autoreleaseReturnValue => objc_autorelease due to its operand not being used as a return value. llvm-svn: 171669
-
Craig Topper authored
Fix suffix handling for parsing and printing of cvtsi2ss, cvtsi2sd, cvtss2si, cvttss2si, cvtsd2si, and cvttsd2si to match gas behavior. cvtsi2* should parse with an 'l' or 'q' suffix or no suffix at all. No suffix should be treated the same as 'l' suffix. Printing should always print a suffix. Previously we didn't parse or print an 'l' suffix. cvtt*2si/cvt*2si should parse with an 'l' or 'q' suffix or not suffix at all. No suffix should use the destination register size to choose encoding. Printing should not print a suffix. Original 'l' suffix issue with cvtsi2* pointed out by Michael Kuperstein. llvm-svn: 171668
-
Evan Cheng authored
Fix for PR14739. It's not safe to fold a load into a call across a store. Thanks to Nick Lewycky for the initial patch. llvm-svn: 171665
-
Andrew Trick authored
Indirect branch in the preheader crashes replaceCongruentIVs. Fixes rdar://12910141. llvm-svn: 171653
-
Michael J. Spencer authored
llvm-svn: 171651
-
Michael J. Spencer authored
llvm-svn: 171650
-
Michael J. Spencer authored
This currently prints the ELF program headers. llvm-svn: 171649
-
Michael J. Spencer authored
llvm-svn: 171648
-
Michael J. Spencer authored
llvm-svn: 171647
-
Renato Golin authored
Signed-off-by:
Renato Golin <renato.golin@linaro.org> llvm-svn: 171642
-
- Jan 05, 2013
-
-
David Blaikie authored
Based on code review feedback in r171604 from Chandler Carruth & Eric Christopher. llvm-svn: 171636
-
Dmitri Gribenko authored
'clang' to use it as the compiler. llvm-svn: 171630
-
Michael Gottesman authored
Added debug message to ObjCARC when we transform objc_retainAutorelasedReturnValue => objc_retain since the operand to said function is not a return value. llvm-svn: 171629
-
Michael Gottesman authored
Added debug message for ObjCARC when we zap an objc_autoreleaseReturnValue/objc_retainAutoreleasedValue pair. llvm-svn: 171628
-
Chris Lattner authored
when merging two TBAA tags, pointed out by Nuno. llvm-svn: 171627
-
Chandler Carruth authored
pass into the SelectionDAG itself rather than snooping on the implementation of that pass as exposed by the TargetMachine. This removes the last direct client of the ScalarTargetTransformInfo class outside of the TTI pass implementation. llvm-svn: 171625
-
Benjamin Kramer authored
This isn't optimal either but fixes a massive compile time regression from the attribute uniquing work. llvm-svn: 171624
-
Chandler Carruth authored
Sorry for the noise here, 'make check' doesn't build this code. =/ llvm-svn: 171623
-
Chandler Carruth authored
interfaces which could be extracted from it, and must be provided on construction, to a chained analysis group. The end goal here is that TTI works much like AA -- there is a baseline "no-op" and target independent pass which is in the group, and each target can expose a target-specific pass in the group. These passes will naturally chain allowing each target-specific pass to delegate to the generic pass as needed. In particular, this will allow a much simpler interface for passes that would like to use TTI -- they can have a hard dependency on TTI and it will just be satisfied by the stub implementation when that is all that is available. This patch is a WIP however. In particular, the "stub" pass is actually the one and only pass, and everything there is implemented by delegating to the target-provided interfaces. As a consequence the tools still have to explicitly construct the pass. Switching targets to provide custom passes and sinking the stub behavior into the NoTTI pass is the next step. llvm-svn: 171621
-
Chandler Carruth authored
llvm-svn: 171620
-
Chandler Carruth authored
llvm-svn: 171619
-
Chandler Carruth authored
interface. llvm-svn: 171618
-
Chandler Carruth authored
the ScalarTargetTransformInfo interface. llvm-svn: 171617
-
Chandler Carruth authored
interface rather than the ScalarTargetTransformInterface. llvm-svn: 171616
-
Chandler Carruth authored
VectorTargetTransformInfo into the TargetTransformInfo pass, implementing them be delegating back out to the two subobjects. This is the first step to folding the interfaces together and making TargetTransformInfo a normal analysis pass (specifically an analysis group which targets can provide target-specific analysis pass implementations of). No callers are migrated here, this just stubs out the interface. Next step will be to migrate all the callers to directly operate on TTI instead of STTI or VTTI respectively. That will allow replacing the machinery for delivering TTI without changing every caller at once. WIP, I promise all the duplicated interfaces will be removed in the end, this just decouples the steps of the process. llvm-svn: 171615
-
Chandler Carruth authored
values -- that's not required to fix the bug that was cropping up, and the values selected made the enumeration's underlying type signed and introduced some warnings. This fixes the -Werror build. The underlying issue here was that the DenseMapInfo was casting values completely outside the range of the underlying storage of the enumeration to the enumeration's type. GCC went and "optimized" that into infloops and other misbehavior. By providing designated special values for these keys in the dense map, we ensure they are indeed representable and that they won't be used for anything else. It might be better to reuse None for the empty key and have the tombstone share the value of the sentinel enumerator, but honestly having 2 extra enumerators seemed not to matter and this seems a bit simpler. I'll let Bill shuffle this around (or ask me to shuffle it around) if he prefers it to look a different way. I also made the switch a bit more clear (and produce a better assert) that the enumerators are *never* going to show up and are errors if they do. llvm-svn: 171614
-
Chandler Carruth authored
unused, there were transitive includes needed. llvm-svn: 171613
-
Chandler Carruth authored
llvm-svn: 171612
-
NAKAMURA Takumi authored
IR/Attributes: Provide EmptyKey and TombstoneKey in part of enum, as workaround for gcc-4.4 take #2. I will investigate, later, what was wrong. I am too tired for now. llvm-svn: 171611
-
David Blaikie authored
This change essentially reverts r87069 which came without a test case. It causes no regressions in the GDB 7.5 test suite & fixes 25 xfails (commit to the test suite to follow). If anyone can present a test case that demonstrates why this check is necessary I'd be happy to account for it in one way or another. llvm-svn: 171609
-