- Oct 28, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 143189
-
Duncan Sands authored
it fixes the dragonegg self-host (it looks like gcc is miscompiled). Original commit messages: Eliminate LegalizeOps' LegalizedNodes map and have it just call RAUW on every node as it legalizes them. This makes it easier to use hasOneUse() heuristics, since unneeded nodes can be removed from the DAG earlier. Make LegalizeOps visit the DAG in an operands-last order. It previously used operands-first, because LegalizeTypes has to go operands-first, and LegalizeTypes used to be part of LegalizeOps, but they're now split. The operands-last order is more natural for several legalization tasks. For example, it allows lowering code for nodes with floating-point or vector constants to see those constants directly instead of seeing the lowered form (often constant-pool loads). This makes some things somewhat more complicated today, though it ought to allow things to be simpler in the future. It also fixes some bugs exposed by Legalizing using RAUW aggressively. Remove the part of LegalizeOps that attempted to patch up invalid chain operands on libcalls generated by LegalizeTypes, since it doesn't work with the new LegalizeOps traversal order. Instead, define what LegalizeTypes is doing to be correct, and transfer the responsibility of keeping calls from having overlapping calling sequences into the scheduler. Teach the scheduler to model callseq_begin/end pairs as having a physical register definition/use to prevent calls from having overlapping calling sequences. This is also somewhat complicated, though there are ways it might be simplified in the future. This addresses rdar://9816668, rdar://10043614, rdar://8434668, and others. Please direct high-level questions about this patch to management. Delete #if 0 code accidentally left in. llvm-svn: 143188
-
Nick Lewycky authored
llvm-svn: 143187
-
Nick Lewycky authored
tools that read the debug info in the .o files by making the DIE sizes more consistent. llvm-svn: 143186
-
Andrew Trick authored
Fixes rdar://10359193 Indvar LinearFunctionTestReplace assertion llvm-svn: 143183
-
Richard Smith authored
to catch some future implicit lvalue-to-rvalue casts of inappropriate kinds. llvm-svn: 143182
-
Sean Callanan authored
and ObjCInterfaceDecls. llvm-svn: 143181
-
Dan Gohman authored
llvm-svn: 143179
-
Dan Gohman authored
on every node as it legalizes them. This makes it easier to use hasOneUse() heuristics, since unneeded nodes can be removed from the DAG earlier. Make LegalizeOps visit the DAG in an operands-last order. It previously used operands-first, because LegalizeTypes has to go operands-first, and LegalizeTypes used to be part of LegalizeOps, but they're now split. The operands-last order is more natural for several legalization tasks. For example, it allows lowering code for nodes with floating-point or vector constants to see those constants directly instead of seeing the lowered form (often constant-pool loads). This makes some things somewhat more complicated today, though it ought to allow things to be simpler in the future. It also fixes some bugs exposed by Legalizing using RAUW aggressively. Remove the part of LegalizeOps that attempted to patch up invalid chain operands on libcalls generated by LegalizeTypes, since it doesn't work with the new LegalizeOps traversal order. Instead, define what LegalizeTypes is doing to be correct, and transfer the responsibility of keeping calls from having overlapping calling sequences into the scheduler. Teach the scheduler to model callseq_begin/end pairs as having a physical register definition/use to prevent calls from having overlapping calling sequences. This is also somewhat complicated, though there are ways it might be simplified in the future. This addresses rdar://9816668, rdar://10043614, rdar://8434668, and others. Please direct high-level questions about this patch to management. llvm-svn: 143177
-
Greg Clayton authored
then we spawn child processes (debugserver, etc) and those bad settings get inherited. We stop this from happening by correctly mucking with the posix spawn attributes. llvm-svn: 143176
-
Jim Ingham authored
it gets deleted before GetDescription is called we still at least know where it was. llvm-svn: 143175
-
Jim Ingham authored
debugserver being responsive to shut down. llvm-svn: 143174
-
Johnny Chen authored
llvm-svn: 143173
-
John McCall authored
a binary operator involving a dependently-typed overload set. llvm-svn: 143172
-
Peter Collingbourne authored
Previously, if invoked from a CMake build directory, 'llvm-config --cppflags' and friends would only print a -I flag for the build directory's header search path, because it would assume that it was already installed, not recognising its parent directory as being the build directory. Teach llvm-config about CMake build directories so that it prints a -I for both the source and build directory's search paths. llvm-svn: 143171
-
Johnny Chen authored
Print out the version of the locally built 'lldb' binary, not the one found in your PATH env variable. llvm-svn: 143170
-
Johnny Chen authored
This benchmark is meant to run the locally built 'lldb' binary, not the binary on the PATH env variable. llvm-svn: 143169
-
Richard Trieu authored
string is part of the function call, then there is no difference. If the format string is not, the warning will point to the call site and a note will point to where the format string is. Fix-it hints for strings are moved to the note if a note is emitted. This will prevent changes to format strings that may be used in multiple places. llvm-svn: 143168
-
Jim Grosbach authored
Just treat it as if the constituent D registers where specified. rdar://10348896 llvm-svn: 143167
-
Richard Smith authored
llvm-svn: 143166
-
Dan Gohman authored
llvm-svn: 143165
-
Dan Gohman authored
llvm-svn: 143164
-
Owen Anderson authored
llvm-svn: 143163
-
Owen Anderson authored
llvm-svn: 143162
-
Jakob Stoklund Olesen authored
Previously, we were only setting the alignment bits on over-aligned loads and stores. llvm-svn: 143160
-
Eli Friedman authored
llvm-svn: 143159
-
Jim Grosbach authored
llvm-svn: 143158
-
Sean Callanan authored
InstructionLLVM class dropped its instruction handle on the floor instead of releasing it correctly. llvm-svn: 143156
-
Richard Smith authored
rvalue. An assertion to catch this is in ImpCastExprToType will follow, but vector operations currently trip over this (due to omitting the usual arithmetic conversions). Also add an assert to catch missing lvalue-to-rvalue conversions on the LHS of ->. llvm-svn: 143155
-
rdar://problem/10357230Greg Clayton authored
Fixed an issue where async packets were incurring a delay even though they were sent correctly. We now properly broadcast the private run state being resumed correctly. Also fixed logging to reflect what is happening. llvm-svn: 143154
-
- Oct 27, 2011
-
-
Jim Grosbach authored
llvm-svn: 143153
-
Owen Anderson authored
Revert r143149, stubbing out symbolic disassembly support. The symbolic disassembly support is too MC-engrained to be useful in llvm-objdump. llvm-svn: 143152
-
Owen Anderson authored
If we're searching for a symbol reference to pretty-print a scattered relocation address, and we don't find a symbol table entry, try section begin addresses as well. llvm-svn: 143151
-
Ted Kremenek authored
llvm-svn: 143150
-
Owen Anderson authored
llvm-svn: 143149
-
Daniel Dunbar authored
- This will require you to manually reconfigure the projects/sample project (by running projects/config/sample/config.status --recheck) if you haven't updated/built since the 1st part of this commit went in. llvm-svn: 143148
-
Sean Callanan authored
for it, so that people who want to use LLDB as a calculator can run simple expressions without needing a target or process. llvm-svn: 143147
-
-
Daniel Dunbar authored
llvm-svn: 143143
-
Daniel Dunbar authored
llvm-svn: 143142
-