- May 10, 2011
-
-
Devang Patel authored
llvm-svn: 131106
-
- May 09, 2011
-
-
Eric Christopher authored
Patch by Evan Cheng. llvm-svn: 131093
-
Dan Gohman authored
llvm-svn: 131088
-
Eric Christopher authored
Patch by Liu <proljc@gmail.com>! llvm-svn: 131086
-
Mon P Wang authored
llvm-svn: 131085
-
Duncan Sands authored
llvm-svn: 131082
-
NAKAMURA Takumi authored
llvm-svn: 131078
-
- May 08, 2011
-
-
Jakob Stoklund Olesen authored
It can happen that a live debug variable is the last use of a sub-register, and the register allocator will pick a larger register class for the virtual register. If the allocated register doesn't support the sub-register index, just use %noreg for the debug variables instead of asserting. In PR9872, a debug variable ends up in the sub_8bit_hi part of a GR32_ABCD register. The register is split and one part is inflated to GR32 and assigned %ESI because there are no more normal uses of sub_8bit_hi. Since %ESI doesn't have that sub-register, substPhysReg asserted. Now it will simply insert a %noreg instead, and the debug variable will be marked unavailable in that range. We don't currently have a way of saying: !"value" is in bits 8-15 of %ESI, I don't know if DWARF even supports that. llvm-svn: 131073
-
Benjamin Kramer authored
"b + ((a < b) ? 1 : 0)" compiles into cmpl %esi, %edi adcl $0, %esi instead of cmpl %esi, %edi sbbl %eax, %eax andl $1, %eax addl %esi, %eax This saves a register, a false dependency on %eax (Intel's CPUs still don't ignore it) and it's shorter. llvm-svn: 131070
-
Rafael Espindola authored
the smaller encoding and this cuts 270336 bytes from a release version of clang and 1246272 bytes from a debug build. llvm-svn: 131067
-
- May 07, 2011
-
-
Jakob Stoklund Olesen authored
Tablegen will invent its own names for these indexes, and the register file is a bit simpler. llvm-svn: 131059
-
Duncan Sands authored
often expressed as "x >= y ? x : y", there is a good chance we can extract the existing "x >= y" from it and use that as a replacement for "max(x,y)==x". llvm-svn: 131049
-
Eric Christopher authored
Patch by Stephen Hines. llvm-svn: 131045
-
Jakob Stoklund Olesen authored
Please ensure the build is clean and tests are passing when recommitting. llvm-svn: 131044
-
Rafael Espindola authored
llvm-svn: 131031
-
Dylan Noblesmith authored
Forgot to `svn rm` these in revisions 131025 / 131029. llvm-svn: 131030
-
Dylan Noblesmith authored
From revision 131025. llvm-svn: 131029
-
Akira Hatanaka authored
2. Remove unused function. 3. Correct indentation. llvm-svn: 131028
-
Dylan Noblesmith authored
As an ExecutionEngine class function, its definition really belongs in ExecutionEngine.cpp, not JIT.cpp. llvm-svn: 131027
-
Dylan Noblesmith authored
In particular, into EngineBuilder. This should only impact the private API between the EE and EB classes, not external clients, since JITCtor and MCJITCtor are both protected members. llvm-svn: 131026
-
Dylan Noblesmith authored
This prepares for making JITCtor/MCJITCtor take a TargetMachine* directly from clients like EngineBuilder. llvm-svn: 131025
-
- May 06, 2011
-
-
Jakob Stoklund Olesen authored
This can't be just an assertion, users can always write impossible inline assembly. Such an assembly statement should be included in the error message. llvm-svn: 131024
-
Andrew Trick authored
llvm-svn: 131022
-
Nick Lewycky authored
assert in the bitcode writer. No change needed because the ValueEnumerator holds a whole-module numbering anyhow. Fixes PR9857! llvm-svn: 131016
-
Evan Cheng authored
llvm-svn: 131015
-
Eli Friedman authored
llvm-svn: 131012
-
Eli Friedman authored
llvm-svn: 131008
-
Jakob Stoklund Olesen authored
This should unbreak dragonegg-i386-linux and build-self-4-mingw32. llvm-svn: 131007
-
Andrew Trick authored
llvm-svn: 131001
-
Jakob Stoklund Olesen authored
After a virtual register is split, update any debug user variables that resided in the old register. This ensures that the LiveDebugVariables are still correct after register allocation. This may create DBG_VALUE instructions that place a user variable in a register in parts of the function and in a stack slot in other parts. DwarfDebug currently doesn't support that. llvm-svn: 130998
-
Jakob Stoklund Olesen authored
llvm-svn: 130997
-
Jakob Stoklund Olesen authored
llvm-svn: 130996
-
Andrew Trick authored
The post-ra scheduler was explicitly updating the depth of a node's successors after scheduling it, regardless of whether the successor was ready. This is quadratic for DAGs with transitively redundant edges. I simply removed the useless update of depth, which is lazilly computed later. Fixes <rdar://problem/9044332> compiler takes way too long to build TextInput. llvm-svn: 130992
-
Devang Patel authored
Move CompileUnit::getOrCreateNameSpace() and CompileUnit::addPubType() from DwarfDebug.cpp to DwarfCompileUnit.cpp llvm-svn: 130991
-
Rafael Espindola authored
llvm-svn: 130989
-
Rafael Espindola authored
llvm-svn: 130988
-
Rafael Espindola authored
llvm-svn: 130987
-
Rafael Espindola authored
llvm-svn: 130985
-
Rafael Espindola authored
llvm-svn: 130984
-
Justin Holewinski authored
Patch by Wei-Ren Chen llvm-svn: 130980
-