- Jun 01, 2013
-
-
Tim Northover authored
The MOV64ri64i32 instruction required hacky MCInst lowering because it was allocated as setting a GR64, but the eventual instruction ("movl") only set a GR32. This converts it into a so-called "MOV32ri64" which still accepts a (appropriate) 64-bit immediate but defines a GR32. This is then converted to the full GR64 by a SUBREG_TO_REG operation, thus keeping everyone happy. This fixes a typo in the opcode field of the original patch, which should make the legact JIT work again (& adds test for that problem). llvm-svn: 183068
-
Venkatraman Govindaraju authored
llvm-svn: 183067
-
Michael Gottesman authored
Removed a comment above an include which is unnecessary and added a missing closing @} for a doxygen comment. llvm-svn: 183065
-
Michael Gottesman authored
llvm-svn: 183064
-
Michael Gottesman authored
Also added a few more method comments and performed some copy editing. llvm-svn: 183063
-
Anna Zaks authored
Jordan has pointed out that it is valuable to warn in cases when the arguments to init escape. For example, NSData initWithBytes id not going to free the memory. llvm-svn: 183062
-
Ahmed Bougacha authored
This also makes TableGen able to compute sizes/offsets of synthesized indices representing tuples. llvm-svn: 183061
-
Andrew Trick authored
Fixes rdar:14036816, PR16130. There is an opportunity to compute precise trip counts for 'or' expressions and multi-exit loops. rdar:14038809: Optimize trip count computation for multi-exit loops. To do this we need to record the fact that ExitLimit assumes NSW. When it does not we can safely assume that the loop trip count is the minimum ExitLimt across all subexpressions and loop exits. llvm-svn: 183060
-
Eric Christopher authored
seems to have caused PR16192 and other JIT related failures. llvm-svn: 183059
-
Enrico Granata authored
llvm-svn: 183058
-
Eric Christopher authored
llvm-svn: 183057
-
Richard Trieu authored
llvm-svn: 183056
-
Anna Zaks authored
llvm-svn: 183055
-
Eric Christopher authored
llvm-svn: 183054
-
Eric Christopher authored
llvm-svn: 183053
-
Eric Christopher authored
llvm-svn: 183052
-
Eric Christopher authored
llvm-svn: 183051
-
Rui Ueyama authored
llvm-svn: 183050
-
Matt Kopec authored
All running threads will be detected and stopped on attach and all threads get resumed on detach. llvm-svn: 183049
-
- May 31, 2013
-
-
Fariborz Jahanian authored
'ivar' was used inside a record/union used as argument to __typeof. // rdar14037151 pr5984 llvm-svn: 183048
-
Arnold Schwaighofer authored
Use ScalarEvolution's getBackedgeTakenCount API instead of getExitCount since that is really what we want to know. Using the more specific getExitCount was safe because we made sure that there is only one exiting block. No functionality change. llvm-svn: 183047
-
David Majnemer authored
llvm-svn: 183046
-
Quentin Colombet authored
Account for the cost of scaling factor in Loop Strength Reduce when rating the formulae. This uses a target hook. The default implementation of the hook is: if the addressing mode is legal, the scaling factor is free. <rdar://problem/13806271> llvm-svn: 183045
-
Daniel Malea authored
- should resolve remaining buildbot issues with debian/clang builder llvm-svn: 183044
-
Rafael Espindola authored
llvm-svn: 183043
-
Rafael Espindola authored
llvm-svn: 183042
-
Rafael Espindola authored
llvm-svn: 183041
-
Rafael Espindola authored
llvm-svn: 183040
-
Daniel Malea authored
- as per review comment from Dimitry Andric! llvm-svn: 183039
-
Daniel Malea authored
Patch by Ed Maste! llvm-svn: 183038
-
rdar://problem/13752848Han Ming Ong authored
Add 'JoinExistingSession' to XPC for root debugging. llvm-svn: 183037
-
Ed Schouten authored
I renamed the function at one point in time, but forgot to fix the layout of the arguments. llvm-svn: 183036
-
Arnold Schwaighofer authored
We check that instructions in the loop don't have outside users (except if they are reduction values). Unfortunately, we skipped this check for if-convertable PHIs. Fixes PR16184. llvm-svn: 183035
-
Rui Ueyama authored
llvm-svn: 183034
-
Ed Schouten authored
For integer types of sizes 1, 2, 4 and 8, libcompiler-rt (and libgcc) provide atomic functions that pass parameters by value and return results directly. libgcc and libcompiler-rt only provide optimized libcalls for __atomic_fetch_*, as generic libcalls on non-integer types would make little sense. This means that we can finally make __atomic_fetch_* work on architectures for which we don't provide these operations as builtins (e.g. ARM). This should fix the dreaded "cannot compile this atomic library call yet" error that would pop up once every while. llvm-svn: 183033
-
Daniel Malea authored
- missing #include <cstdlib> in Mangled.cpp - missing include dirs in FreeBSD CMakeLists.txt Patch by Ed Maste! llvm-svn: 183032
-
Benjamin Kramer authored
Fixes a leak found by valgrind. llvm-svn: 183031
-
rdar://problem/14035604Enrico Granata authored
Fixing an issue where formats would not propagate from parents to children in all cases Details follow: an SBValue has children and those are fetched along with their values Now, one calls SBValue::SetFormat() on the parent Technically, the format choices should propagate onto the children (see ValueObject::GetFormat()) But if the children values are already fetched, they won't notice the format change and won't update themselves This commit fixes that by making ValueObject::GetValueAsCString() check if any format change intervened from the previous call to the current one A test case is also added llvm-svn: 183030
-
Ed Schouten authored
Also add the "=" to the matched pattern, to see whether we actually save the loaded value. llvm-svn: 183029
-
Michael Gottesman authored
llvm-svn: 183028
-