- Sep 19, 2009
-
-
Benjamin Kramer authored
- Replace std::map<std::string with StringMap - Eliminate unnecessary std::string copies - ~10% speed-up for clang's testsuite on my machine (debug build) llvm-svn: 82312
-
Evan Cheng authored
Fix PR4926. When target hook EmitInstrWithCustomInserter() insert new basic blocks and update CFG, it should also inform sdisel of the changes so the phi source operands will come from the right basic blocks. llvm-svn: 82311
-
Victor Hernandez authored
Reviewed by Dan Gohman. llvm-svn: 82300
-
Chris Lattner authored
this is run after the 'standard function passes', SRoA was recently run. This saves a domfrontier construction. Thanks to Eli for noticing this. llvm-svn: 82291
-
Chris Lattner authored
no functionality change. llvm-svn: 82290
-
- Sep 18, 2009
-
-
Bob Wilson authored
llvm-svn: 82285
-
Bob Wilson authored
llvm-svn: 82284
-
Bill Wendling authored
llvm-svn: 82282
-
Victor Hernandez authored
Reviewed by Eli Friedman. llvm-svn: 82281
-
Dan Gohman authored
llvm-svn: 82276
-
Bill Wendling authored
into the __DATA section. At launch time, dyld has to update most of the section to fix up the type info pointers. It's better to place it into the __TEXT section and use pc-rel indirect pointer encodings. Similar to the personality routine. llvm-svn: 82274
-
Evan Cheng authored
Enhance EmitInstrWithCustomInserter() so target can specify CFG changes that sdisel will use to properly complete phi nodes. Not functionality change yet. llvm-svn: 82273
-
Shantonu Sen authored
causes the "../foo" to not find the file llvm-svn: 82270
-
Chris Lattner authored
getSymbolForDwarfGlobalReference is smart enough to know that it needs to register the stub it references with MachineModuleInfoMachO, so that it gets emitted at the end of the file. Move stub emission from X86ATTAsmPrinter::doFinalization to the new X86ATTAsmPrinter::EmitEndOfAsmFile asmprinter hook. The important thing here is that EmitEndOfAsmFile is called *after* the ehframes are emitted, so we get all the stubs. This allows us to remove a gross hack from the asmprinter where it would "just know" that it needed to output stubs for personality functions. Now this is all driven from a consistent interface. The testcase change is just reordering the expected output now that the stubs come out after the ehframe instead of before. This also unblocks other changes that Bill wants to make. llvm-svn: 82269
-
Chris Lattner authored
Overriding doFinalization is pretty lame. llvm-svn: 82268
-
Dale Johannesen authored
move a SUBFC (etc.) below the SUBFE (etc.) that consumed the carry bit. Add missing ADDIC8, noticed along the way. llvm-svn: 82266
-
Dan Gohman authored
on x86, to avoid explicit test instructions. A few existing tests changed due to arbitrary register allocation differences. llvm-svn: 82263
-
Sean Callanan authored
carry bit) instructions to the Intel instruction tables. llvm-svn: 82260
-
Devang Patel authored
llvm-svn: 82259
-
Victor Hernandez authored
Update malloc call creation code (AllocType is now the element type of the malloc, not the resulting type). In getMallocArraySize(), fix bug in the case that array size is the product of 2 constants. Extend isArrayMalloc() and getMallocArraySize() to handle case where malloc is used as char array. Ensure that ArraySize in LowerAllocations::runOnBasicBlock() is correct type. Extend Instruction::isSafeToSpeculativelyExecute() to handle malloc calls. Add verification for malloc calls. Reviewed by Dan Gohman. llvm-svn: 82257
-
Chris Lattner authored
llvm-svn: 82245
-
Chris Lattner authored
llvm-svn: 82244
-
Chris Lattner authored
llvm-svn: 82236
-
Chris Lattner authored
llvm-svn: 82235
-
Daniel Dunbar authored
llvm-svn: 82232
-
Mike Stump authored
http://savannah.gnu.org/projects/config llvm-svn: 82229
-
Anton Korobeynikov authored
variables to specified absolute address. Make use of this feature for MSP430. This unbreaks PR4776. llvm-svn: 82227
-
Nick Lewycky authored
llvm-svn: 82225
-
Xerxes Ranby authored
llvm-svn: 82218
-
Evan Cheng authored
llvm-svn: 82215
-
Evan Cheng authored
Fix a bug in sdisel switch lowering code. When it updates the phi nodes in switch successor blocks, it can introduce multiple phi operands of the same value from different blocks (and may not be on the predecessor list). This can be seen on CodeGen/Generic/2006-09-06-SwitchLowering.ll. But it's not known to cause any real regression (but I have added an assertion for it now). llvm-svn: 82214
-
Nick Lewycky authored
llvm-svn: 82206
-
Chris Lattner authored
llvm-svn: 82182
-
Chris Lattner authored
llvm-svn: 82181
-
Chris Lattner authored
64-bit systems. llvm-svn: 82180
-
Chris Lattner authored
llvm-svn: 82179
-
Chris Lattner authored
llvm-svn: 82178
-
Julien Lerouge authored
supporting this attribute). llvm-svn: 82177
-
Devang Patel authored
llvm-svn: 82176
-
Devang Patel authored
llvm-svn: 82175
-