- Apr 10, 2009
-
-
Bill Wendling authored
the key. This will cause it to create a new std::string, which isn't wanted. Instead, pass back the "const char*". Modify the EmitString() method to take a "const char*". llvm-svn: 68741
-
Devang Patel authored
llvm-svn: 68735
-
Chris Lattner authored
isRegTiedToDefOperand. Thanks to Bob for pointing this out! llvm-svn: 68734
-
Owen Anderson authored
llvm-svn: 68730
-
- Apr 09, 2009
-
-
Bill Wendling authored
gives a micro speedup in the Dwarf writer. llvm-svn: 68728
-
Devang Patel authored
llvm-svn: 68727
-
Bill Wendling authored
llvm[2]: Compiling lto.cpp for Debug build (PIC) make[2]: *** No rule to make target `/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.sh.build/Debug/lib/libLLVMBitWriter.a', needed by `/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.sh.build/Release/lib/libLTO.dylib'. Stop. make[1]: *** [all] Error 1 make: *** [all] Error 1 llvm-svn: 68721
-
Bob Wilson authored
register destinations that are tied to source operands. The TargetInstrDescr::findTiedToSrcOperand method silently fails for inline assembly. The existing MachineInstr::isRegReDefinedByTwoAddr was very close to doing what is needed, so this revision makes a few changes to that method and also renames it to isRegTiedToUseOperand (for consistency with the very similar isRegTiedToDefOperand and because it handles both two-address instructions and inline assembly with tied registers). llvm-svn: 68714
-
Sanjiv Gupta authored
The way we are trying to figure out banksel immediate operand may yield different results for different type of insns. This will eventually need to be changed but currently let us prevent the crash in cases of incorrect detection of banksel operand. llvm-svn: 68713
-
Chris Lattner authored
attached testcase. llvm-svn: 68712
-
Misha Brukman authored
we're not testing out-of-date code. This also makes "make check" and "make unittests" work out-of-the box right after the configure step, without requiring the user to run "make tools-only" or "make libs-only". Tested on Linux/x86_64 and Darwin/x86. llvm-svn: 68708
-
Sanjiv Gupta authored
Arguments to indirect calls were being passed incorrectly. They are not fixed to start after return value. llvm-svn: 68705
-
Chris Lattner authored
llvm-svn: 68690
-
Chris Lattner authored
llvm-svn: 68684
-
Sanjiv Gupta authored
r68576 unconverd a bug in PIC16 port (Thanks to Dan Gohman) where we were custom lowering an ADD to ADDC. llvm-svn: 68671
-
Dan Gohman authored
in addition to ZERO_EXTEND and SIGN_EXTEND. Fix a bug in the way it checked for live-out values, and simplify the way it find users by using SDNode::use_iterator's (relatively) new features. Also, make it slightly more permissive on targets with free truncates. In SelectionDAGBuild, avoid creating ANY_EXTEND nodes that are larger than necessary. If the target's SwitchAmountTy has enough bits, use it. This exposes the truncate to optimization early, enabling more optimizations. llvm-svn: 68670
-
Owen Anderson authored
Convert TargetRegisterInfo's super-register checking to use a pre-computed hash table just like subregister checking does. llvm-svn: 68669
-
Nick Lewycky authored
llvm-svn: 68668
-
Dan Gohman authored
eagerly. This helps avoid CopyToReg nodes in some cases where they aren't needed, and also helps subsequent optimizer heuristics in cases where the extra nodes would cause the node to appear to have multiple results. This doesn't have a significant impact currently; it'll help an upcoming change. llvm-svn: 68667
-
Dan Gohman authored
llvm-svn: 68666
-
Misha Brukman authored
llvm-svn: 68664
-
Daniel Dunbar authored
llvm-svn: 68663
-
Douglas Gregor authored
Fix BitstreamReader's GetCurrentBitNo to return the correct bit number, and stop JumpToBit from covering up its mistakes llvm-svn: 68648
-
Devang Patel authored
If subprogram type is not tagged as DW_TAG_subroutine_type then use it directly as a return value type. llvm-svn: 68647
-
- Apr 08, 2009
-
-
Rafael Espindola authored
Tested by bootstrapping llvm-gcc and using that to build llvm. llvm-svn: 68645
-
Bob Wilson authored
llvm-svn: 68620
-
Bob Wilson authored
ARMTargetLowering::isLegalAddressingMode. llvm-svn: 68619
-
Ted Kremenek authored
when generating an Xcode project using the CMake files (thanks to Doug Gregor for identifying the issue). llvm-svn: 68618
-
Douglas Gregor authored
llvm-svn: 68616
-
Duncan Sands authored
llvm-svn: 68614
-
Misha Brukman authored
* Converted C-style casts to C++-style casts llvm-svn: 68613
-
Douglas Gregor authored
llvm-svn: 68610
-
Duncan Sands authored
llvm-svn: 68607
-
Rafael Espindola authored
llvm-svn: 68603
-
Sanjiv Gupta authored
Emit .line debug directives for stoppoints. The debug location is retrieved by the MachineInstr itself, rather than by custom handling the DBG_STOPPOINT nodes. llvm-svn: 68602
-
Chris Lattner authored
integer types, unless they are already strange. This prevents it from turning the code produced by SROA into crazy libcalls and stuff that the code generator can't handle. In the attached example, the result was an i96 multiply that caused the x86 backend to assert. Note that if TargetData had an idea of what the legal types are for a target that this could be used to stop instcombine from introducing i64 muls, as Scott wanted. llvm-svn: 68598
-
Sanjiv Gupta authored
Every function has the address of its frame in the beginning of code section. The frame address is retrieved and used to pass arguments. llvm-svn: 68597
-
Chris Lattner authored
a testcase I'm about to attach to that pr. llvm-svn: 68592
-
Chris Lattner authored
abstraction for CommandLine. llvm-svn: 68588
-
Dan Gohman authored
llvm-svn: 68580
-